public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
Date: Mon, 21 Oct 2019 22:16:08 +0000 (UTC)	[thread overview]
Message-ID: <1571696094.807060a220c9d72a090c3282b7fa4f07aff584fc.slyfox@gentoo> (raw)

commit:     807060a220c9d72a090c3282b7fa4f07aff584fc
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 22:14:54 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 22:14:54 2019 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=807060a2

3.3.6: drop arch-conditional patches

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 3.3.6/gentoo/01_ppc_gcc33-multi32-hack.patch    | 68 -------------------------
 3.3.6/gentoo/01_sparc_gcc33-multi32-hack.patch  | 68 -------------------------
 3.3.6/gentoo/09_arm_gcc32-arm-reload1-fix.patch | 21 --------
 3.3.6/gentoo/README.history                     |  5 ++
 4 files changed, 5 insertions(+), 157 deletions(-)

diff --git a/3.3.6/gentoo/01_ppc_gcc33-multi32-hack.patch b/3.3.6/gentoo/01_ppc_gcc33-multi32-hack.patch
deleted file mode 100644
index 61a26cb..0000000
--- a/3.3.6/gentoo/01_ppc_gcc33-multi32-hack.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-This is an optimization hack which should only be present
-in a sparc 32bit driver of the compiler compiled with
-host/target/build sparc64-redhat-linux --with-cpu=v7.
-As long long HOST_WIDE_INT slows things down, we can have in
-addition to the sparc64-*/3.2/{cc1,cc1plus}
-sparc-*/3.2/{cc1,cc1plus} binaries which are suitable for compiling
--m32 code only, but use long HOST_WIDE_INT.
-
---- gcc/gcc.c.jj	2003-05-15 18:06:04.000000000 -0400
-+++ gcc/gcc.c	2003-05-20 10:31:15.000000000 -0400
-@@ -3003,6 +3003,8 @@ process_command (argc, argv)
-   int have_c = 0;
-   int have_o = 0;
-   int lang_n_infiles = 0;
-+  int m64 = 0;
-+  int used_B = 0;
- #ifdef MODIFY_TARGET_NAME
-   int is_modify_target_name;
-   int j;
-@@ -3493,6 +3495,7 @@ warranty; not even for MERCHANTABILITY o
- 			    PREFIX_PRIORITY_B_OPT, 0, &warn_B, 0);
- 		add_prefix (&include_prefixes, concat (value, "include", NULL),
- 			    NULL, PREFIX_PRIORITY_B_OPT, 0, NULL, 0);
-+		used_B = 1;
- 		n_switches++;
- 	      }
- 	      break;
-@@ -3555,6 +3558,13 @@ warranty; not even for MERCHANTABILITY o
- #endif
- 	      goto normal_switch;
- 
-+	    /* HACK START */
-+	    case 'm':
-+	      if (p[1] == '6' && p[2] == '4')
-+		m64 = 1;
-+	    /* FALLTHROUGH */
-+	    /* HACK END */
-+
- 	    default:
- 	    normal_switch:
- 
-@@ -3621,6 +3631,26 @@ warranty; not even for MERCHANTABILITY o
-   /* Use 2 as fourth arg meaning try just the machine as a suffix,
-      as well as trying the machine and the version.  */
- #ifndef OS2
-+  /* HACK START */
-+  if (!m64 && !used_B && !strncmp (spec_machine, "sparc64-", 8))
-+    {
-+      const char *sparc32_exec_prefix =
-+	concat (standard_exec_prefix, "sparc-", spec_machine + 8,
-+		dir_separator_str, spec_version, dir_separator_str, NULL);
-+      add_prefix (&exec_prefixes, sparc32_exec_prefix, "GCC",
-+		  PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0);
-+    }
-+  /* HACK END */
-+  /* HACK START */
-+  if (!m64 && !used_B && !strncmp (spec_machine, "ppc64-", 6))
-+    {
-+      const char *ppc32_exec_prefix =
-+	concat (standard_exec_prefix, "ppc-", spec_machine + 6,
-+		dir_separator_str, spec_version, dir_separator_str, NULL);
-+      add_prefix (&exec_prefixes, ppc32_exec_prefix, "GCC",
-+		  PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0);
-+    }
-+  /* HACK END */
-   add_prefix (&exec_prefixes, standard_exec_prefix, "GCC",
- 	      PREFIX_PRIORITY_LAST, 1, warn_std_ptr, 0);
-   add_prefix (&exec_prefixes, standard_exec_prefix, "BINUTILS",

diff --git a/3.3.6/gentoo/01_sparc_gcc33-multi32-hack.patch b/3.3.6/gentoo/01_sparc_gcc33-multi32-hack.patch
deleted file mode 100644
index 61a26cb..0000000
--- a/3.3.6/gentoo/01_sparc_gcc33-multi32-hack.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-This is an optimization hack which should only be present
-in a sparc 32bit driver of the compiler compiled with
-host/target/build sparc64-redhat-linux --with-cpu=v7.
-As long long HOST_WIDE_INT slows things down, we can have in
-addition to the sparc64-*/3.2/{cc1,cc1plus}
-sparc-*/3.2/{cc1,cc1plus} binaries which are suitable for compiling
--m32 code only, but use long HOST_WIDE_INT.
-
---- gcc/gcc.c.jj	2003-05-15 18:06:04.000000000 -0400
-+++ gcc/gcc.c	2003-05-20 10:31:15.000000000 -0400
-@@ -3003,6 +3003,8 @@ process_command (argc, argv)
-   int have_c = 0;
-   int have_o = 0;
-   int lang_n_infiles = 0;
-+  int m64 = 0;
-+  int used_B = 0;
- #ifdef MODIFY_TARGET_NAME
-   int is_modify_target_name;
-   int j;
-@@ -3493,6 +3495,7 @@ warranty; not even for MERCHANTABILITY o
- 			    PREFIX_PRIORITY_B_OPT, 0, &warn_B, 0);
- 		add_prefix (&include_prefixes, concat (value, "include", NULL),
- 			    NULL, PREFIX_PRIORITY_B_OPT, 0, NULL, 0);
-+		used_B = 1;
- 		n_switches++;
- 	      }
- 	      break;
-@@ -3555,6 +3558,13 @@ warranty; not even for MERCHANTABILITY o
- #endif
- 	      goto normal_switch;
- 
-+	    /* HACK START */
-+	    case 'm':
-+	      if (p[1] == '6' && p[2] == '4')
-+		m64 = 1;
-+	    /* FALLTHROUGH */
-+	    /* HACK END */
-+
- 	    default:
- 	    normal_switch:
- 
-@@ -3621,6 +3631,26 @@ warranty; not even for MERCHANTABILITY o
-   /* Use 2 as fourth arg meaning try just the machine as a suffix,
-      as well as trying the machine and the version.  */
- #ifndef OS2
-+  /* HACK START */
-+  if (!m64 && !used_B && !strncmp (spec_machine, "sparc64-", 8))
-+    {
-+      const char *sparc32_exec_prefix =
-+	concat (standard_exec_prefix, "sparc-", spec_machine + 8,
-+		dir_separator_str, spec_version, dir_separator_str, NULL);
-+      add_prefix (&exec_prefixes, sparc32_exec_prefix, "GCC",
-+		  PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0);
-+    }
-+  /* HACK END */
-+  /* HACK START */
-+  if (!m64 && !used_B && !strncmp (spec_machine, "ppc64-", 6))
-+    {
-+      const char *ppc32_exec_prefix =
-+	concat (standard_exec_prefix, "ppc-", spec_machine + 6,
-+		dir_separator_str, spec_version, dir_separator_str, NULL);
-+      add_prefix (&exec_prefixes, ppc32_exec_prefix, "GCC",
-+		  PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0);
-+    }
-+  /* HACK END */
-   add_prefix (&exec_prefixes, standard_exec_prefix, "GCC",
- 	      PREFIX_PRIORITY_LAST, 1, warn_std_ptr, 0);
-   add_prefix (&exec_prefixes, standard_exec_prefix, "BINUTILS",

diff --git a/3.3.6/gentoo/09_arm_gcc32-arm-reload1-fix.patch b/3.3.6/gentoo/09_arm_gcc32-arm-reload1-fix.patch
deleted file mode 100644
index 0d5588e..0000000
--- a/3.3.6/gentoo/09_arm_gcc32-arm-reload1-fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- gcc-3.2.1/gcc/reload1.c.orig	2002-10-10 09:40:20.000000000 -0600
-+++ gcc-3.2.1/gcc/reload1.c	2003-01-30 12:15:05.000000000 -0700
-@@ -8674,7 +8674,9 @@
- 	 ... (MEM (PLUS (REGZ) (REGY)))... .
- 
- 	 First, check that we have (set (REGX) (PLUS (REGX) (REGY)))
--	 and that we know all uses of REGX before it dies.  */
-+	 and that we know all uses of REGX before it dies. 
-+	 Also, explicitly check that REGX != REGY; our life information
-+	 does not yet show whether REGY changes in this insn.  */
-       set = single_set (insn);
-       if (set != NULL_RTX
- 	  && GET_CODE (SET_DEST (set)) == REG
-@@ -8684,6 +8686,7 @@
- 	  && GET_CODE (SET_SRC (set)) == PLUS
- 	  && GET_CODE (XEXP (SET_SRC (set), 1)) == REG
- 	  && rtx_equal_p (XEXP (SET_SRC (set), 0), SET_DEST (set))
-+	  && !rtx_equal_p (XEXP (SET_SRC (set), 1), SET_DEST (set))
- 	  && last_label_ruid < reg_state[REGNO (SET_DEST (set))].use_ruid)
- 	{
- 	  rtx reg = SET_DEST (set);

diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index a0da777..4271566 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,3 +1,8 @@
+3		TODO
+	- 01_ppc_gcc33-multi32-hack.patch
+	- 01_sparc_gcc33-multi32-hack.patch
+	- 09_arm_gcc32-arm-reload1-fix.patch
+
 2		06 Jun 2019
 	+ 93_all_gperf-inline.patch
 	+ 94_all_flag_jni.patch


             reply	other threads:[~2019-10-21 22:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-21 22:16 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-07-24  9:58 [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/ Sergei Trofimovich
2020-05-29 21:27 Sergei Trofimovich
2019-06-15 19:11 Sergei Trofimovich
2019-06-12 21:33 Sergei Trofimovich
2019-06-01 10:06 Sergei Trofimovich
2018-11-30 23:41 Sergei Trofimovich
2018-09-30 17:23 Sergei Trofimovich
2018-09-30 16:45 Sergei Trofimovich
2018-09-30 12:16 Sergei Trofimovich
2018-09-15 18:46 Sergei Trofimovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1571696094.807060a220c9d72a090c3282b7fa4f07aff584fc.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox