summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-07-08 20:12:48 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-07-08 20:12:48 +0000
commit8f840b75da0a524f595f4aadd4b9c34bdd1a535c (patch)
tree4ac9378657bdb556a307712f776038989c2f917d /sys-devel
parentRe-add ~amd64 as it seems to have got lost. (diff)
downloadgentoo-2-8f840b75da0a524f595f4aadd4b9c34bdd1a535c.tar.gz
gentoo-2-8f840b75da0a524f595f4aadd4b9c34bdd1a535c.tar.bz2
gentoo-2-8f840b75da0a524f595f4aadd4b9c34bdd1a535c.zip
Removed old, unused patches.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/ChangeLog33
-rw-r--r--sys-devel/gcc/files/3.3.1/gcc331-gentoo-branding.patch18
-rw-r--r--sys-devel/gcc/files/3.3.3/gcc-3.3.3-libiberty-pic.patch10
-rw-r--r--sys-devel/gcc/files/3.3.3/gcc333-gentoo-branding.patch18
-rw-r--r--sys-devel/gcc/files/3.3.3/gcc333-pr15693.patch117
-rw-r--r--sys-devel/gcc/files/3.3.3/gcc333-ssp-3.3.2_1-fixup.patch58
-rw-r--r--sys-devel/gcc/files/3.3.3/gcc333-ssp-3.3_7-fixup.patch58
-rw-r--r--sys-devel/gcc/files/3.3.3/gcc333_pre20040215-gentoo-branding.patch17
-rw-r--r--sys-devel/gcc/files/3.3.3/gcc333_pre20040322-gentoo-branding.patch17
-rw-r--r--sys-devel/gcc/files/3.3.3/gcc333_pre20040408-gentoo-branding.patch17
-rw-r--r--sys-devel/gcc/files/3.3.3/gcc333_pre20040426-gentoo-branding.patch17
-rw-r--r--sys-devel/gcc/files/3.3.4/gcc334-gentoo-branding.patch18
-rw-r--r--sys-devel/gcc/files/3.3/gcc33-coreutils-compat.patch.bz2bin3462 -> 0 bytes
-rw-r--r--sys-devel/gcc/files/3.3/gcc33-gentoo-branding-1.patch18
-rw-r--r--sys-devel/gcc/files/3.3/gcc33-gentoo-branding.patch18
-rw-r--r--sys-devel/gcc/files/3.3/gcc33-no-multilib-amd64.patch11
-rw-r--r--sys-devel/gcc/files/3.3/gcc33-propolice-version.patch11
-rw-r--r--sys-devel/gcc/files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch11
-rw-r--r--sys-devel/gcc/files/3.4.0/gcc-3.4.0-move-propolice-into-glibc.patch32
-rw-r--r--sys-devel/gcc/files/3.4.0/gcc-3.4.0-r6-gentoo-branding.patch17
-rw-r--r--sys-devel/gcc/files/3.4.0/gcc34-ia64-lib64.patch38
-rw-r--r--sys-devel/gcc/files/3.4.0/gcc34-ice-hack.patch327
-rw-r--r--sys-devel/gcc/files/3.4.0/gcc34-multi32-hack.patch68
-rw-r--r--sys-devel/gcc/files/3.4.0/gcc34-ppc64-m32-m64-multilib-only.patch22
-rw-r--r--sys-devel/gcc/files/3.4.1/gcc-3.4.1-gentoo-branding.patch17
-rw-r--r--sys-devel/gcc/files/3.4.1/gcc341-ppc64-mozilla-ICE-fix.patch16
-rw-r--r--sys-devel/gcc/files/3.4.2/gcc-3.4.2-mips-ip28_cache_barriers.patch392
-rw-r--r--sys-devel/gcc/files/3.4.3/35_all_pr18987-fix.patch20
28 files changed, 30 insertions, 1386 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog
index 896628ba748c..3ab2173f7b25 100644
--- a/sys-devel/gcc/ChangeLog
+++ b/sys-devel/gcc/ChangeLog
@@ -1,11 +1,38 @@
# ChangeLog for sys-devel/gcc
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.430 2005/07/08 19:54:14 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.431 2005/07/08 20:12:48 eradicator Exp $
08 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org>
-gcc-2.95.3-r8.ebuild, -gcc-3.3.2.ebuild, -gcc-3.3.2-r5.ebuild,
- -gcc-3.3.5.20050130.ebuild, -gcc-3.4.3.20050110-r1.ebuild:
- Removing old ebuilds.
+ -gcc-3.3.5.20050130.ebuild, -gcc-3.4.3.20050110-r1.ebuild,
+ -files/3.3/gcc33-coreutils-compat.patch.bz2,
+ -files/3.3/gcc33-gentoo-branding-1.patch,
+ -files/3.3/gcc33-gentoo-branding.patch,
+ -files/3.3/gcc33-no-multilib-amd64.patch,
+ -files/3.3/gcc33-propolice-version.patch,
+ -files/3.3.1/gcc331-gentoo-branding.patch,
+ -files/3.3.3/gcc-3.3.3-libiberty-pic.patch,
+ -files/3.3.3/gcc333-gentoo-branding.patch,
+ -files/3.3.3/gcc333-pr15693.patch,
+ -files/3.3.3/gcc333-ssp-3.3.2_1-fixup.patch,
+ -files/3.3.3/gcc333-ssp-3.3_7-fixup.patch,
+ -files/3.3.3/gcc333_pre20040215-gentoo-branding.patch,
+ -files/3.3.3/gcc333_pre20040322-gentoo-branding.patch,
+ -files/3.3.3/gcc333_pre20040408-gentoo-branding.patch,
+ -files/3.3.3/gcc333_pre20040426-gentoo-branding.patch,
+ -files/3.3.4/gcc334-gentoo-branding.patch,
+ -files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch,
+ -files/3.4.0/gcc-3.4.0-move-propolice-into-glibc.patch,
+ -files/3.4.0/gcc-3.4.0-r6-gentoo-branding.patch,
+ -files/3.4.0/gcc34-ia64-lib64.patch, -files/3.4.0/gcc34-ice-hack.patch,
+ -files/3.4.0/gcc34-multi32-hack.patch,
+ -files/3.4.0/gcc34-ppc64-m32-m64-multilib-only.patch,
+ -files/3.4.1/gcc-3.4.1-gentoo-branding.patch,
+ -files/3.4.1/gcc341-ppc64-mozilla-ICE-fix.patch,
+ -files/3.4.2/gcc-3.4.2-mips-ip28_cache_barriers.patch,
+ -files/3.4.3/35_all_pr18987-fix.patch:
+ Removing old ebuilds and cleaned out unused old patches.
+
*gcc-4.0.1 (08 Jul 2005)
diff --git a/sys-devel/gcc/files/3.3.1/gcc331-gentoo-branding.patch b/sys-devel/gcc/files/3.3.1/gcc331-gentoo-branding.patch
deleted file mode 100644
index e3bc0abb9298..000000000000
--- a/sys-devel/gcc/files/3.3.1/gcc331-gentoo-branding.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -Naurp gcc-3.3.orig/gcc/version.c gcc-3.3/gcc/version.c
---- gcc-3.3.orig/gcc/version.c 2003-05-13 17:26:03.000000000 -0400
-+++ gcc-3.3/gcc/version.c 2003-05-16 14:35:08.000000000 -0400
-@@ -6,7 +6,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.3.1";
-+const char version_string[] = "3.3.1 @GENTOO@";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -15,4 +15,4 @@ const char version_string[] = "3.3";
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/3.3.3/gcc-3.3.3-libiberty-pic.patch b/sys-devel/gcc/files/3.3.3/gcc-3.3.3-libiberty-pic.patch
deleted file mode 100644
index 214c44bc4b2b..000000000000
--- a/sys-devel/gcc/files/3.3.3/gcc-3.3.3-libiberty-pic.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- libiberty/Makefile.in.mps 2004-05-13 15:53:17.000000000 +0200
-+++ libiberty/Makefile.in 2004-05-13 15:52:53.000000000 +0200
-@@ -224,6 +224,7 @@ $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA
- $(AR) $(AR_FLAGS) $(TARGETLIB) \
- $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
- $(RANLIB) $(TARGETLIB); \
-+ cp $(TARGETLIB) ../ ; \
- cd ..; \
- else true; fi
-
diff --git a/sys-devel/gcc/files/3.3.3/gcc333-gentoo-branding.patch b/sys-devel/gcc/files/3.3.3/gcc333-gentoo-branding.patch
deleted file mode 100644
index fc25bf5e8c37..000000000000
--- a/sys-devel/gcc/files/3.3.3/gcc333-gentoo-branding.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -Naurp gcc-3.3.orig/gcc/version.c gcc-3.3/gcc/version.c
---- gcc-3.3.orig/gcc/version.c 2003-05-13 17:26:03.000000000 -0400
-+++ gcc-3.3/gcc/version.c 2003-05-16 14:35:08.000000000 -0400
-@@ -6,7 +6,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.3.3";
-+const char version_string[] = "3.3.3 @GENTOO@";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -15,4 +15,4 @@ const char version_string[] = "3.3";
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/3.3.3/gcc333-pr15693.patch b/sys-devel/gcc/files/3.3.3/gcc333-pr15693.patch
deleted file mode 100644
index 6581bee40d38..000000000000
--- a/sys-devel/gcc/files/3.3.3/gcc333-pr15693.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-
- * config/sparc/sparc.c (compare_operand): New predicate.
- * config/sparc/sparc.h (PREDICATE_CODES): Add it.
- * config/sparc/sparc.md (cmpsi expander): Use it. If the first
- operand is a ZERO_EXTRACT and the second operand is not zero,
- force the former to a register.
- (cmpdi expander): Likewise.
-
-
-> install_page:
-> !#PROLOGUE# 0
-> !#PROLOGUE# 1
-> srl %o0, 16, %o0
-> andcc %o0, 1, %g0
-> te 5
-> retl
-> nop
-
-We still emit this code with the patch.
-
---
-Eric Botcazou
---------------
-Index: config/sparc/sparc.c
-===================================================================
-RCS file: /cvs/gcc/gcc/gcc/config/sparc/sparc.c,v
-retrieving revision 1.233.4.9
-diff -u -p -r1.233.4.9 sparc.c
---- gcc/config/sparc/sparc.c 30 Jan 2004 07:19:32 -0000 1.233.4.9
-+++ gcc/config/sparc/sparc.c 29 May 2004 23:41:41 -0000
-@@ -1357,6 +1357,34 @@ input_operand (op, mode)
- return 0;
- }
-
-+/* Return 1 if OP is valid for the lhs of a compare insn. */
-+
-+int
-+compare_operand (op, mode)
-+ rtx op;
-+ enum machine_mode mode;
-+{
-+ if (GET_CODE (op) == ZERO_EXTRACT)
-+ return (register_operand (XEXP (op, 0), mode)
-+ && small_int_or_double (XEXP (op, 1), mode)
-+ && small_int_or_double (XEXP (op, 2), mode)
-+ /* This matches cmp_zero_extract. */
-+ && ((mode == SImode
-+ && ((GET_CODE (XEXP (op, 2)) == CONST_INT
-+ && INTVAL (XEXP (op, 2)) > 19)
-+ || (GET_CODE (XEXP (op, 2)) == CONST_DOUBLE
-+ && CONST_DOUBLE_LOW (XEXP (op, 2)) > 19)))
-+ /* This matches cmp_zero_extract_sp64. */
-+ || (mode == DImode
-+ && TARGET_ARCH64
-+ && ((GET_CODE (XEXP (op, 2)) == CONST_INT
-+ && INTVAL (XEXP (op, 2)) > 51)
-+ || (GET_CODE (XEXP (op, 2)) == CONST_DOUBLE
-+ && CONST_DOUBLE_LOW (XEXP (op, 2)) > 51)))));
-+ else
-+ return register_operand (op, mode);
-+}
-+
-
- /* We know it can't be done in one insn when we get here,
- the movsi expander guarentees this. */
-Index: config/sparc/sparc.h
-===================================================================
-RCS file: /cvs/gcc/gcc/gcc/config/sparc/sparc.h,v
-retrieving revision 1.215.4.5
-diff -u -p -r1.215.4.5 sparc.h
---- gcc/config/sparc/sparc.h 29 Apr 2004 04:42:52 -0000 1.215.4.5
-+++ gcc/config/sparc/sparc.h 29 May 2004 23:41:53 -0000
-@@ -3059,6 +3059,7 @@ do { \
- {"uns_arith_operand", {SUBREG, REG, CONST_INT}}, \
- {"clobbered_register", {REG}}, \
- {"input_operand", {SUBREG, REG, CONST_INT, MEM, CONST}}, \
-+{"compare_operand", {SUBREG, REG, ZERO_EXTRACT}}, \
- {"const64_operand", {CONST_INT, CONST_DOUBLE}}, \
- {"const64_high_operand", {CONST_INT, CONST_DOUBLE}},
-
-Index: config/sparc/sparc.md
-===================================================================
-RCS file: /cvs/gcc/gcc/gcc/config/sparc/sparc.md,v
-retrieving revision 1.181.4.10
-diff -u -p -r1.181.4.10 sparc.md
---- gcc/config/sparc/sparc.md 12 Feb 2004 13:42:46 -0000 1.181.4.10
-+++ gcc/config/sparc/sparc.md 29 May 2004 23:42:03 -0000
-@@ -290,10 +290,13 @@
-
- (define_expand "cmpsi"
- [(set (reg:CC 100)
-- (compare:CC (match_operand:SI 0 "register_operand" "")
-+ (compare:CC (match_operand:SI 0 "compare_operand" "")
- (match_operand:SI 1 "arith_operand" "")))]
- ""
- {
-+ if (GET_CODE (operands[0]) == ZERO_EXTRACT && operands[1] != const0_rtx)
-+ operands[0] = force_reg (SImode, operands[0]);
-+
- sparc_compare_op0 = operands[0];
- sparc_compare_op1 = operands[1];
- DONE;
-@@ -301,10 +304,13 @@
-
- (define_expand "cmpdi"
- [(set (reg:CCX 100)
-- (compare:CCX (match_operand:DI 0 "register_operand" "")
-+ (compare:CCX (match_operand:DI 0 "compare_operand" "")
- (match_operand:DI 1 "arith_double_operand" "")))]
- "TARGET_ARCH64"
- {
-+ if (GET_CODE (operands[0]) == ZERO_EXTRACT && operands[1] != const0_rtx)
-+ operands[0] = force_reg (DImode, operands[0]);
-+
- sparc_compare_op0 = operands[0];
- sparc_compare_op1 = operands[1];
- DONE;
diff --git a/sys-devel/gcc/files/3.3.3/gcc333-ssp-3.3.2_1-fixup.patch b/sys-devel/gcc/files/3.3.3/gcc333-ssp-3.3.2_1-fixup.patch
deleted file mode 100644
index 563989b5b980..000000000000
--- a/sys-devel/gcc/files/3.3.3/gcc333-ssp-3.3.2_1-fixup.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- ./protector.dif.orig Wed May 19 19:03:13 2004
-+++ ./protector.dif Wed May 19 19:04:43 2004
-@@ -23,23 +23,6 @@
-
- BACKEND = main.o libbackend.a
-
--*************** LIB2FUNCS_1 = _muldi3 _negdi2 _lshrdi3 _
--*** 798,804 ****
--
-- LIB2FUNCS_2 = _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf \
-- _clear_cache _trampoline __main _exit _absvsi2 _absvdi2 _addvsi3 \
--! _addvdi3 _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors
--
-- # Defined in libgcc2.c, included only in the static library.
-- LIB2FUNCS_ST = _eprintf _bb __gcc_bcmp
----- 798,804 ----
--
-- LIB2FUNCS_2 = _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf \
-- _clear_cache _trampoline __main _exit _absvsi2 _absvdi2 _addvsi3 \
--! _addvdi3 _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors _stack_smash_handler
--
-- # Defined in libgcc2.c, included only in the static library.
-- LIB2FUNCS_ST = _eprintf _bb __gcc_bcmp
- *************** ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H
- *** 1665,1670 ****
- --- 1665,1671 ----
-@@ -50,6 +33,31 @@
-
- $(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) $(GGC_H) \
- $(RTL_H) $(REGS_H) hard-reg-set.h real.h insn-config.h conditions.h \
-+Index: gcc/mklibgcc.in
-+===================================================================
-+RCS file: /home/cvsroot/gcc/gcc/mklibgcc.in,v
-+retrieving revision 1.1.1.13
-+retrieving revision 1.1.1.13.2.1
-+diff -c -3 -p -r1.1.1.13 -r1.1.1.13.2.1
-+*** gcc/mklibgcc.in 2003/06/18 08:05:16 1.1.1.13
-+--- gcc/mklibgcc.in 2003/06/18 08:51:26 1.1.1.13.2.1
-+*************** lib2funcs='_muldi3 _negdi2 _lshrdi3 _ash
-+*** 48,54 ****
-+ _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi
-+ _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf _clear_cache
-+ _trampoline __main _exit _absvsi2 _absvdi2 _addvsi3 _addvdi3
-+! _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors
-+ _ffssi2 _ffsdi2 _clz _clzsi2 _clzdi2 _ctzsi2 _ctzdi2 _popcount_tab
-+ _popcountsi2 _popcountdi2 _paritysi2 _paritydi2'
-+
-+--- 48,54 ---
-+ _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi
-+ _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf _clear_cache
-+ _trampoline __main _exit _absvsi2 _absvdi2 _addvsi3 _addvdi3
-+! _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors _stack_smash_handler
-+ _ffssi2 _ffsdi2 _clz _clzsi2 _clzdi2 _ctzsi2 _ctzdi2 _popcount_tab
-+ _popcountsi2 _popcountdi2 _paritysi2 _paritydi2'
-+
- Index: gcc/calls.c
- ===================================================================
- RCS file: /home/cvsroot/gcc/gcc/calls.c,v
diff --git a/sys-devel/gcc/files/3.3.3/gcc333-ssp-3.3_7-fixup.patch b/sys-devel/gcc/files/3.3.3/gcc333-ssp-3.3_7-fixup.patch
deleted file mode 100644
index a0d19e588132..000000000000
--- a/sys-devel/gcc/files/3.3.3/gcc333-ssp-3.3_7-fixup.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- protector.dif.orig 2004-02-17 22:14:30.087588656 +0200
-+++ protector.dif 2004-02-17 22:28:24.977666072 +0200
-@@ -23,23 +23,6 @@
-
- BACKEND = main.o libbackend.a
-
--*************** LIB2FUNCS_1 = _muldi3 _negdi2 _lshrdi3 _
--*** 795,801 ****
--
-- LIB2FUNCS_2 = _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf \
-- _clear_cache _trampoline __main _exit _absvsi2 _absvdi2 _addvsi3 \
--! _addvdi3 _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors
--
-- # Defined in libgcc2.c, included only in the static library.
-- LIB2FUNCS_ST = _eprintf _bb __gcc_bcmp
----- 795,801 ----
--
-- LIB2FUNCS_2 = _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf \
-- _clear_cache _trampoline __main _exit _absvsi2 _absvdi2 _addvsi3 \
--! _addvdi3 _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors _stack_smash_handler
--
-- # Defined in libgcc2.c, included only in the static library.
-- LIB2FUNCS_ST = _eprintf _bb __gcc_bcmp
- *************** ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H
- *** 1662,1667 ****
- --- 1662,1668 ----
-@@ -50,6 +33,31 @@
-
- $(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) $(GGC_H) \
- $(RTL_H) $(REGS_H) hard-reg-set.h real.h insn-config.h conditions.h \
-+Index: gcc/mklibgcc.in
-+===================================================================
-+RCS file: /home/cvsroot/gcc/gcc/mklibgcc.in,v
-+retrieving revision 1.1.1.13
-+retrieving revision 1.1.1.13.2.1
-+diff -c -3 -p -r1.1.1.13 -r1.1.1.13.2.1
-+*** gcc/mklibgcc.in 2003/06/18 08:05:16 1.1.1.13
-+--- gcc/mklibgcc.in 2003/06/18 08:51:26 1.1.1.13.2.1
-+*************** lib2funcs='_muldi3 _negdi2 _lshrdi3 _ash
-+*** 48,54 ****
-+ _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi
-+ _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf _clear_cache
-+ _trampoline __main _exit _absvsi2 _absvdi2 _addvsi3 _addvdi3
-+! _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors
-+ _ffssi2 _ffsdi2 _clz _clzsi2 _clzdi2 _ctzsi2 _ctzdi2 _popcount_tab
-+ _popcountsi2 _popcountdi2 _paritysi2 _paritydi2'
-+
-+--- 48,54 ---
-+ _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi
-+ _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf _clear_cache
-+ _trampoline __main _exit _absvsi2 _absvdi2 _addvsi3 _addvdi3
-+! _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors _stack_smash_handler
-+ _ffssi2 _ffsdi2 _clz _clzsi2 _clzdi2 _ctzsi2 _ctzdi2 _popcount_tab
-+ _popcountsi2 _popcountdi2 _paritysi2 _paritydi2'
-+
- Index: gcc/calls.c
- ===================================================================
- RCS file: /home/cvsroot/gcc/gcc/calls.c,v
diff --git a/sys-devel/gcc/files/3.3.3/gcc333_pre20040215-gentoo-branding.patch b/sys-devel/gcc/files/3.3.3/gcc333_pre20040215-gentoo-branding.patch
deleted file mode 100644
index 3831094a22c9..000000000000
--- a/sys-devel/gcc/files/3.3.3/gcc333_pre20040215-gentoo-branding.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gcc-20040215/gcc/version.c.orig 2004-02-16 10:29:21.934005976 -0600
-+++ gcc-20040215/gcc/version.c 2004-02-16 10:31:24.478017312 -0600
-@@ -6,7 +6,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.3.3-hammer 20040214 (prerelease)";
-+const char version_string[] = "3.3.3 (Gentoo Linux 3.3.3_pre20040215)";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -15,4 +15,4 @@
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/3.3.3/gcc333_pre20040322-gentoo-branding.patch b/sys-devel/gcc/files/3.3.3/gcc333_pre20040322-gentoo-branding.patch
deleted file mode 100644
index 527804def61b..000000000000
--- a/sys-devel/gcc/files/3.3.3/gcc333_pre20040322-gentoo-branding.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gcc-20040215/gcc/version.c.orig 2004-02-16 10:29:21.934005976 -0600
-+++ gcc-20040215/gcc/version.c 2004-02-16 10:31:24.478017312 -0600
-@@ -6,7 +6,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.3.3-hammer";
-+const char version_string[] = "3.3.3 (Gentoo Linux 3.3.3_pre20040322)";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -15,4 +15,4 @@
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/3.3.3/gcc333_pre20040408-gentoo-branding.patch b/sys-devel/gcc/files/3.3.3/gcc333_pre20040408-gentoo-branding.patch
deleted file mode 100644
index 66f90d0156d9..000000000000
--- a/sys-devel/gcc/files/3.3.3/gcc333_pre20040408-gentoo-branding.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gcc-20040215/gcc/version.c.orig 2004-02-16 10:29:21.934005976 -0600
-+++ gcc-20040215/gcc/version.c 2004-02-16 10:31:24.478017312 -0600
-@@ -6,7 +6,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.3.3-hammer";
-+const char version_string[] = "3.3.3 (Gentoo Linux 3.3.3_pre20040408-r1)";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -15,4 +15,4 @@
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/3.3.3/gcc333_pre20040426-gentoo-branding.patch b/sys-devel/gcc/files/3.3.3/gcc333_pre20040426-gentoo-branding.patch
deleted file mode 100644
index 66f90d0156d9..000000000000
--- a/sys-devel/gcc/files/3.3.3/gcc333_pre20040426-gentoo-branding.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gcc-20040215/gcc/version.c.orig 2004-02-16 10:29:21.934005976 -0600
-+++ gcc-20040215/gcc/version.c 2004-02-16 10:31:24.478017312 -0600
-@@ -6,7 +6,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.3.3-hammer";
-+const char version_string[] = "3.3.3 (Gentoo Linux 3.3.3_pre20040408-r1)";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -15,4 +15,4 @@
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/3.3.4/gcc334-gentoo-branding.patch b/sys-devel/gcc/files/3.3.4/gcc334-gentoo-branding.patch
deleted file mode 100644
index 0c17a4f7ba4b..000000000000
--- a/sys-devel/gcc/files/3.3.4/gcc334-gentoo-branding.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -Naurp gcc-3.3.orig/gcc/version.c gcc-3.3/gcc/version.c
---- gcc-3.3.orig/gcc/version.c 2003-05-13 17:26:03.000000000 -0400
-+++ gcc-3.3/gcc/version.c 2003-05-16 14:35:08.000000000 -0400
-@@ -6,7 +6,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.3.4";
-+const char version_string[] = "3.3.4 @GENTOO@";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -15,4 +15,4 @@ const char version_string[] = "3.3.4";
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/3.3/gcc33-coreutils-compat.patch.bz2 b/sys-devel/gcc/files/3.3/gcc33-coreutils-compat.patch.bz2
deleted file mode 100644
index 5d4ca55ac9e1..000000000000
--- a/sys-devel/gcc/files/3.3/gcc33-coreutils-compat.patch.bz2
+++ /dev/null
Binary files differ
diff --git a/sys-devel/gcc/files/3.3/gcc33-gentoo-branding-1.patch b/sys-devel/gcc/files/3.3/gcc33-gentoo-branding-1.patch
deleted file mode 100644
index 243b37e1e78f..000000000000
--- a/sys-devel/gcc/files/3.3/gcc33-gentoo-branding-1.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -Naurp gcc-3.3.orig/gcc/version.c gcc-3.3/gcc/version.c
---- gcc-3.3.orig/gcc/version.c 2003-05-13 17:26:03.000000000 -0400
-+++ gcc-3.3/gcc/version.c 2003-05-16 14:35:08.000000000 -0400
-@@ -6,7 +6,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.3";
-+const char version_string[] = "3.3 @GENTOO@";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -15,4 +15,4 @@ const char version_string[] = "3.3";
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/3.3/gcc33-gentoo-branding.patch b/sys-devel/gcc/files/3.3/gcc33-gentoo-branding.patch
deleted file mode 100644
index 9ecc482e0116..000000000000
--- a/sys-devel/gcc/files/3.3/gcc33-gentoo-branding.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -Naurp gcc-3.3.orig/gcc/version.c gcc-3.3/gcc/version.c
---- gcc-3.3.orig/gcc/version.c 2003-05-13 17:26:03.000000000 -0400
-+++ gcc-3.3/gcc/version.c 2003-05-16 14:35:08.000000000 -0400
-@@ -6,7 +6,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.3";
-+const char version_string[] = "3.3 (Gentoo Linux 1.4, PVR @PV@)";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -15,4 +15,4 @@ const char version_string[] = "3.3";
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/3.3/gcc33-no-multilib-amd64.patch b/sys-devel/gcc/files/3.3/gcc33-no-multilib-amd64.patch
deleted file mode 100644
index dce10d4e4fa9..000000000000
--- a/sys-devel/gcc/files/3.3/gcc33-no-multilib-amd64.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc/config/i386/t-linux64.orig 2003-06-28 00:19:59.000000000 +0000
-+++ gcc/config/i386/t-linux64 2003-06-28 00:20:07.000000000 +0000
-@@ -6,7 +6,7 @@
-
- MULTILIB_OPTIONS = m64/m32
- MULTILIB_DIRNAMES = 64 32
--MULTILIB_OSDIRNAMES = ../lib64 ../lib
-+MULTILIB_OSDIRNAMES = . ../lib
-
- LIBGCC = stmp-multilib
- INSTALL_LIBGCC = install-multilib
diff --git a/sys-devel/gcc/files/3.3/gcc33-propolice-version.patch b/sys-devel/gcc/files/3.3/gcc33-propolice-version.patch
deleted file mode 100644
index 9470660974f0..000000000000
--- a/sys-devel/gcc/files/3.3/gcc33-propolice-version.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc-3.3/gcc/version.c.orig 2003-06-29 23:45:02.000000000 +0200
-+++ gcc-3.3/gcc/version.c 2003-06-29 23:44:49.000000000 +0200
-@@ -6,7 +6,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.3 (Gentoo Linux 1.4, PVR @PV@)";
-+const char version_string[] = "3.3 (Gentoo Linux 1.4, PVR @PV@, propolice)";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
diff --git a/sys-devel/gcc/files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch b/sys-devel/gcc/files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch
deleted file mode 100644
index 72bce28a552b..000000000000
--- a/sys-devel/gcc/files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc/Makefile.in.mps 2004-06-01 22:06:17.000000000 +0200
-+++ gcc/Makefile.in 2004-06-01 22:06:56.000000000 +0200
-@@ -1845,7 +1845,7 @@ $(out_object_file): $(out_file) $(CONFIG
- output.h $(INSN_ATTR_H) $(SYSTEM_H) toplev.h $(TARGET_H) libfuncs.h \
- $(TARGET_DEF_H) function.h sched-int.h $(TM_P_H) $(EXPR_H) $(OPTABS_H) \
- langhooks.h
-- $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-+ $(CC) -c $(ALL_CFLAGS) -fno-stack-protector $(ALL_CPPFLAGS) $(INCLUDES) \
- $(out_file) $(OUTPUT_OPTION)
-
- # Build auxiliary files that support ecoff format.
diff --git a/sys-devel/gcc/files/3.4.0/gcc-3.4.0-move-propolice-into-glibc.patch b/sys-devel/gcc/files/3.4.0/gcc-3.4.0-move-propolice-into-glibc.patch
deleted file mode 100644
index 0e8cca960112..000000000000
--- a/sys-devel/gcc/files/3.4.0/gcc-3.4.0-move-propolice-into-glibc.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -urdN gcc-3.4.0.old/gcc/libgcc-std.ver gcc-3.4.0/gcc/libgcc-std.ver
---- gcc-3.4.0.old/gcc/libgcc-std.ver 2004-05-13 02:41:39.633595352 -0400
-+++ gcc-3.4.0/gcc/libgcc-std.ver 2004-05-13 02:46:04.836278416 -0400
-@@ -175,9 +175,11 @@
- _Unwind_SjLj_ForcedUnwind
- _Unwind_SjLj_Resume
-
-+%if !defined(_LIBC_PROVIDES_SSP_)
- # stack smash handler symbols
- __guard
- __stack_smash_handler
-+%endif
- }
-
- %inherit GCC_3.3 GCC_3.0
-diff -urdN gcc-3.4.0.old/gcc/libgcc2.c gcc-3.4.0/gcc/libgcc2.c
---- gcc-3.4.0.old/gcc/libgcc2.c 2004-05-13 02:41:32.928614664 -0400
-+++ gcc-3.4.0/gcc/libgcc2.c 2004-05-13 02:48:49.101306336 -0400
-@@ -1669,6 +1669,7 @@
-
-
- #ifdef L_stack_smash_handler
-+#ifndef _LIBC_PROVIDES_SSP_
- #include <stdio.h>
- #include <string.h>
- #include <fcntl.h>
-@@ -1784,4 +1785,5 @@
- #endif
- _exit (127);
- }
-+#endif /* _LIBC_PROVIDES_SSP_ */
- #endif /* L_stack_smash_handler */
diff --git a/sys-devel/gcc/files/3.4.0/gcc-3.4.0-r6-gentoo-branding.patch b/sys-devel/gcc/files/3.4.0/gcc-3.4.0-r6-gentoo-branding.patch
deleted file mode 100644
index 4f020316da31..000000000000
--- a/sys-devel/gcc/files/3.4.0/gcc-3.4.0-r6-gentoo-branding.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gcc/version.c.old 2004-05-20 05:20:46.352804640 -0400
-+++ gcc/version.c 2004-05-20 05:23:53.833303272 -0400
-@@ -5,7 +5,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.4.1 20040601 (prerelease)";
-+const char version_string[] = "3.4.0 @GENTOO@";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -14,4 +14,4 @@
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/3.4.0/gcc34-ia64-lib64.patch b/sys-devel/gcc/files/3.4.0/gcc34-ia64-lib64.patch
deleted file mode 100644
index 8e6860ba32ec..000000000000
--- a/sys-devel/gcc/files/3.4.0/gcc34-ia64-lib64.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-2004-05-14 Jakub Jelinek <jakub@redhat.com>
-
- * gcc/config/ia64/ia64.h (TARGET_SWITCHES): Add -m64.
- * gcc/config/ia64/t-glibc (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
- MULTILIB_EXCEPTIONS, MULTILIB_OSDIRNAMES): Set.
- * gcc/config/ia64/linux.h (MULTILIB_DEFAULTS): Define.
-
---- gcc/config/ia64/ia64.h.jj 2004-03-12 08:14:28.000000000 -0500
-+++ gcc/config/ia64/ia64.h 2004-05-14 07:56:35.000000000 -0400
-@@ -168,6 +168,8 @@ extern int ia64_tls_size;
-
- #define TARGET_SWITCHES \
- { \
-+ { "64", 0, \
-+ N_("Generate 64-bit code") }, \
- { "big-endian", MASK_BIG_ENDIAN, \
- N_("Generate big endian code") }, \
- { "little-endian", -MASK_BIG_ENDIAN, \
---- gcc/config/ia64/t-glibc.jj 2003-03-26 10:56:04.000000000 -0500
-+++ gcc/config/ia64/t-glibc 2004-05-14 08:30:15.000000000 -0400
-@@ -1 +1,6 @@
- LIB2ADDEH += $(srcdir)/config/ia64/fde-glibc.c
-+
-+MULTILIB_OPTIONS = m64/m32
-+MULTILIB_DIRNAMES = 64 32
-+MULTILIB_EXCEPTIONS = m32
-+MULTILIB_OSDIRNAMES = ../lib64 ../lib
---- gcc/config/ia64/linux.h.jj 2004-02-10 07:20:51.000000000 -0500
-+++ gcc/config/ia64/linux.h 2004-05-14 07:21:27.000000000 -0400
-@@ -55,6 +55,8 @@ do { \
- #undef LINK_EH_SPEC
- #define LINK_EH_SPEC ""
-
-+#define MULTILIB_DEFAULTS { "m64" }
-+
- /* Do code reading to identify a signal frame, and set the frame
- state data appropriately. See unwind-dw2.c for the structs. */
-
diff --git a/sys-devel/gcc/files/3.4.0/gcc34-ice-hack.patch b/sys-devel/gcc/files/3.4.0/gcc34-ice-hack.patch
deleted file mode 100644
index dd1669f5bc6e..000000000000
--- a/sys-devel/gcc/files/3.4.0/gcc34-ice-hack.patch
+++ /dev/null
@@ -1,327 +0,0 @@
-2004-01-23 Jakub Jelinek <jakub@redhat.com>
-
- * system.h (ICE_EXIT_CODE): Define.
- * gcc.c (execute): Don't free first string early, but at the end
- of the function. Call retry_ice if compiler exited with
- ICE_EXIT_CODE.
- (retry_ice): New function.
- * diagnostic.c (diagnostic_count_diagnostic,
- diagnostic_action_after_output, error_recursion): Exit with
- ICE_EXIT_CODE instead of FATAL_EXIT_CODE.
-
---- gcc/system.h.jj 2004-01-19 17:29:30.000000000 +0100
-+++ gcc/system.h 2004-01-21 11:53:41.000000000 +0100
-@@ -153,6 +153,10 @@ extern int errno;
- # endif
- #endif
-
-+#ifndef ICE_EXIT_CODE
-+# define ICE_EXIT_CODE 27
-+#endif
-+
- #ifdef HAVE_UNISTD_H
- # include <unistd.h>
- #endif
---- gcc/gcc.c.jj 2004-01-21 11:45:20.000000000 +0100
-+++ gcc/gcc.c 2004-01-21 11:56:46.000000000 +0100
-@@ -352,6 +352,9 @@ static void init_gcc_specs (struct obsta
- #if defined(HAVE_TARGET_OBJECT_SUFFIX) || defined(HAVE_TARGET_EXECUTABLE_SUFFIX)
- static const char *convert_filename (const char *, int, int);
- #endif
-+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS))
-+static void retry_ice (const char *prog, const char **argv);
-+#endif
-
- static const char *if_exists_spec_function (int, const char **);
- static const char *if_exists_else_spec_function (int, const char **);
-@@ -2753,7 +2756,7 @@ execute (void)
- if (commands[i].pid == -1)
- pfatal_pexecute (errmsg_fmt, errmsg_arg);
-
-- if (string != commands[i].prog)
-+ if (i && string != commands[i].prog)
- free ((void *) string);
- }
-
-@@ -2831,6 +2834,17 @@ See %s for instructions.",
- else if (WIFEXITED (status)
- && WEXITSTATUS (status) >= MIN_FATAL_STATUS)
- {
-+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS))
-+ /* For ICEs in cc1, cc1obj, cc1plus see if it is
-+ reproducible or not. */
-+ char *p;
-+ if (WEXITSTATUS (status) == ICE_EXIT_CODE
-+ && j == 0
-+ && (p = strrchr (commands[j].argv[0], DIR_SEPARATOR))
-+ && ! strncmp (p + 1, "cc1", 3))
-+ retry_ice (commands[j].prog, commands[j].argv);
-+#endif
-+
- if (WEXITSTATUS (status) > greatest_status)
- greatest_status = WEXITSTATUS (status);
- ret_code = -1;
-@@ -2842,6 +2856,10 @@ See %s for instructions.",
- break;
- }
- }
-+
-+ if (commands[0].argv[0] != commands[0].prog)
-+ free ((PTR) commands[0].argv[0]);
-+
- return ret_code;
- }
- }
-@@ -5809,6 +5827,224 @@ give_switch (int switchnum, int omit_fir
- switches[switchnum].validated = 1;
- }
-
-+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS))
-+#define RETRY_ICE_ATTEMPTS 2
-+
-+static void
-+retry_ice (const char *prog, const char **argv)
-+{
-+ int nargs, out_arg = -1, quiet = 0, attempt;
-+ int pid, retries, sleep_interval;
-+ const char **new_argv;
-+ char *temp_filenames[RETRY_ICE_ATTEMPTS * 2 + 2];
-+
-+ if (input_filename == NULL || ! strcmp (input_filename, "-"))
-+ return;
-+
-+ for (nargs = 0; argv[nargs] != NULL; ++nargs)
-+ /* Only retry compiler ICEs, not preprocessor ones. */
-+ if (! strcmp (argv[nargs], "-E"))
-+ return;
-+ else if (argv[nargs][0] == '-' && argv[nargs][1] == 'o')
-+ {
-+ if (out_arg == -1)
-+ out_arg = nargs;
-+ else
-+ return;
-+ }
-+ /* If the compiler is going to output any time information,
-+ it might varry between invocations. */
-+ else if (! strcmp (argv[nargs], "-quiet"))
-+ quiet = 1;
-+ else if (! strcmp (argv[nargs], "-ftime-report"))
-+ return;
-+
-+ if (out_arg == -1 || !quiet)
-+ return;
-+
-+ memset (temp_filenames, '\0', sizeof (temp_filenames));
-+ new_argv = alloca ((nargs + 3) * sizeof (const char *));
-+ memcpy (new_argv, argv, (nargs + 1) * sizeof (const char *));
-+ new_argv[nargs++] = "-frandom-seed=0";
-+ new_argv[nargs] = NULL;
-+ if (new_argv[out_arg][2] == '\0')
-+ new_argv[out_arg + 1] = "-";
-+ else
-+ new_argv[out_arg] = "-o-";
-+
-+ for (attempt = 0; attempt < RETRY_ICE_ATTEMPTS + 1; ++attempt)
-+ {
-+ int fd;
-+ int status;
-+
-+ temp_filenames[attempt * 2] = make_temp_file (".out");
-+ temp_filenames[attempt * 2 + 1] = make_temp_file (".err");
-+
-+ if (attempt == RETRY_ICE_ATTEMPTS)
-+ {
-+ int i;
-+ int fd1, fd2;
-+ struct stat st1, st2;
-+ size_t n, len;
-+ char *buf;
-+
-+ buf = xmalloc (8192);
-+
-+ for (i = 0; i < 2; ++i)
-+ {
-+ fd1 = open (temp_filenames[i], O_RDONLY);
-+ fd2 = open (temp_filenames[2 + i], O_RDONLY);
-+
-+ if (fd1 < 0 || fd2 < 0)
-+ {
-+ i = -1;
-+ close (fd1);
-+ close (fd2);
-+ break;
-+ }
-+
-+ if (fstat (fd1, &st1) < 0 || fstat (fd2, &st2) < 0)
-+ {
-+ i = -1;
-+ close (fd1);
-+ close (fd2);
-+ break;
-+ }
-+
-+ if (st1.st_size != st2.st_size)
-+ {
-+ close (fd1);
-+ close (fd2);
-+ break;
-+ }
-+
-+ len = 0;
-+ for (n = st1.st_size; n; n -= len)
-+ {
-+ len = n;
-+ if (len > 4096)
-+ len = 4096;
-+
-+ if (read (fd1, buf, len) != (int) len
-+ || read (fd2, buf + 4096, len) != (int) len)
-+ {
-+ i = -1;
-+ break;
-+ }
-+
-+ if (memcmp (buf, buf + 4096, len) != 0)
-+ break;
-+ }
-+
-+ close (fd1);
-+ close (fd2);
-+
-+ if (n)
-+ break;
-+ }
-+
-+ free (buf);
-+ if (i == -1)
-+ break;
-+
-+ if (i != 2)
-+ {
-+ notice ("The bug is not reproducible, so it is likely a hardware or OS problem.\n");
-+ break;
-+ }
-+
-+ fd = open (temp_filenames[attempt * 2], O_RDWR);
-+ if (fd < 0)
-+ break;
-+ write (fd, "//", 2);
-+ for (i = 0; i < nargs; i++)
-+ {
-+ write (fd, " ", 1);
-+ write (fd, new_argv[i], strlen (new_argv[i]));
-+ }
-+ write (fd, "\n", 1);
-+ new_argv[nargs] = "-E";
-+ new_argv[nargs + 1] = NULL;
-+ }
-+
-+ /* Fork a subprocess; wait and retry if it fails. */
-+ sleep_interval = 1;
-+ pid = -1;
-+ for (retries = 0; retries < 4; retries++)
-+ {
-+ pid = fork ();
-+ if (pid >= 0)
-+ break;
-+ sleep (sleep_interval);
-+ sleep_interval *= 2;
-+ }
-+
-+ if (pid < 0)
-+ break;
-+ else if (pid == 0)
-+ {
-+ if (attempt != RETRY_ICE_ATTEMPTS)
-+ fd = open (temp_filenames[attempt * 2], O_RDWR);
-+ if (fd < 0)
-+ exit (-1);
-+ if (fd != 1)
-+ {
-+ close (1);
-+ dup (fd);
-+ close (fd);
-+ }
-+
-+ fd = open (temp_filenames[attempt * 2 + 1], O_RDWR);
-+ if (fd < 0)
-+ exit (-1);
-+ if (fd != 2)
-+ {
-+ close (2);
-+ dup (fd);
-+ close (fd);
-+ }
-+
-+ if (prog == new_argv[0])
-+ execvp (prog, (char *const *) new_argv);
-+ else
-+ execv (new_argv[0], (char *const *) new_argv);
-+ exit (-1);
-+ }
-+
-+ if (waitpid (pid, &status, 0) < 0)
-+ break;
-+
-+ if (attempt < RETRY_ICE_ATTEMPTS
-+ && (! WIFEXITED (status) || WEXITSTATUS (status) != ICE_EXIT_CODE))
-+ {
-+ notice ("The bug is not reproducible, so it is likely a hardware or OS problem.\n");
-+ break;
-+ }
-+ else if (attempt == RETRY_ICE_ATTEMPTS)
-+ {
-+ close (fd);
-+ if (WIFEXITED (status)
-+ && WEXITSTATUS (status) == SUCCESS_EXIT_CODE)
-+ {
-+ notice ("Preprocessed source stored into %s file, please attach this to your bugreport.\n",
-+ temp_filenames[attempt * 2]);
-+ /* Make sure it is not deleted. */
-+ free (temp_filenames[attempt * 2]);
-+ temp_filenames[attempt * 2] = NULL;
-+ break;
-+ }
-+ }
-+ }
-+
-+ for (attempt = 0; attempt < RETRY_ICE_ATTEMPTS * 2 + 2; attempt++)
-+ if (temp_filenames[attempt])
-+ {
-+ unlink (temp_filenames[attempt]);
-+ free (temp_filenames[attempt]);
-+ }
-+}
-+#endif
-+
- /* Search for a file named NAME trying various prefixes including the
- user's -B prefix and some standard ones.
- Return the absolute file name found. If nothing is found, return NAME. */
---- gcc/diagnostic.c.jj 2003-10-01 12:09:21.000000000 +0200
-+++ gcc/diagnostic.c 2004-01-21 11:54:47.000000000 +0100
-@@ -272,14 +272,14 @@ diagnostic_action_after_output (diagnost
- real_abort ();
-
- fnotice (stderr, bug_report_request, bug_report_url);
-- exit (FATAL_EXIT_CODE);
-+ exit (ICE_EXIT_CODE);
-
- case DK_FATAL:
- if (context->abort_on_error)
- real_abort ();
-
- fnotice (stderr, "compilation terminated.\n");
-- exit (FATAL_EXIT_CODE);
-+ exit (ICE_EXIT_CODE);
-
- default:
- real_abort ();
-@@ -571,7 +571,7 @@ error_recursion (diagnostic_context *con
- fnotice (stderr,
- "Internal compiler error: Error reporting routines re-entered.\n");
- fnotice (stderr, bug_report_request, bug_report_url);
-- exit (FATAL_EXIT_CODE);
-+ exit (ICE_EXIT_CODE);
- }
-
- /* Report an internal compiler error in a friendly manner. This is
diff --git a/sys-devel/gcc/files/3.4.0/gcc34-multi32-hack.patch b/sys-devel/gcc/files/3.4.0/gcc34-multi32-hack.patch
deleted file mode 100644
index 1c3ffce8d90f..000000000000
--- a/sys-devel/gcc/files/3.4.0/gcc34-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
-@@ -3084,6 +3084,8 @@ process_command (int argc, const char *c
- 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;
-@@ -3602,6 +3604,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;
-@@ -3664,6 +3667,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:
-
-@@ -3741,6 +3751,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_libexec_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_libexec_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_libexec_prefix, "GCC",
- PREFIX_PRIORITY_LAST, 1, warn_std_ptr, 0);
- add_prefix (&exec_prefixes, standard_libexec_prefix, "BINUTILS",
diff --git a/sys-devel/gcc/files/3.4.0/gcc34-ppc64-m32-m64-multilib-only.patch b/sys-devel/gcc/files/3.4.0/gcc34-ppc64-m32-m64-multilib-only.patch
deleted file mode 100644
index 00dbeac66432..000000000000
--- a/sys-devel/gcc/files/3.4.0/gcc34-ppc64-m32-m64-multilib-only.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- gcc/config/rs6000/t-linux64 2003-06-03 05:11:45.000000000 -0400
-+++ gcc/config/rs6000/t-linux64 2003-06-11 17:07:16.000000000 -0400
-@@ -4,13 +4,13 @@ LIB2FUNCS_EXTRA = tramp.S $(srcdir)/conf
- # Modify the shared lib version file
- SHLIB_MKMAP_OPTS = -v dotsyms=1
-
--MULTILIB_OPTIONS = m64/m32 msoft-float
--MULTILIB_DIRNAMES = 64 32 nof
-+MULTILIB_OPTIONS = m64/m32
-+MULTILIB_DIRNAMES = 64 32
- MULTILIB_EXTRA_OPTS = fPIC mstrict-align
--MULTILIB_EXCEPTIONS = m64/msoft-float
--MULTILIB_EXCLUSIONS = m64/!m32/msoft-float
--MULTILIB_OSDIRNAMES = ../lib64 ../lib nof
--MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT)
-+MULTILIB_EXCEPTIONS =
-+MULTILIB_EXCLUSIONS =
-+MULTILIB_OSDIRNAMES = ../lib64 ../lib
-+MULTILIB_MATCHES =
-
- TARGET_LIBGCC2_CFLAGS = -mno-minimal-toc -fPIC
-
diff --git a/sys-devel/gcc/files/3.4.1/gcc-3.4.1-gentoo-branding.patch b/sys-devel/gcc/files/3.4.1/gcc-3.4.1-gentoo-branding.patch
deleted file mode 100644
index ec9a6b05d6a9..000000000000
--- a/sys-devel/gcc/files/3.4.1/gcc-3.4.1-gentoo-branding.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gcc/version.c.old 2004-05-20 05:20:46.352804640 -0400
-+++ gcc/version.c 2004-05-20 05:23:53.833303272 -0400
-@@ -5,7 +5,7 @@
- please modify this string to indicate that, e.g. by putting your
- organization's name in parentheses at the end of the string. */
-
--const char version_string[] = "3.4.1";
-+const char version_string[] = "3.4.1 @GENTOO@";
-
- /* This is the location of the online document giving instructions for
- reporting bugs. If you distribute a modified version of GCC,
-@@ -14,4 +14,4 @@
- forward us bugs reported to you, if you determine that they are
- not bugs in your modifications.) */
-
--const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
-+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>";
diff --git a/sys-devel/gcc/files/3.4.1/gcc341-ppc64-mozilla-ICE-fix.patch b/sys-devel/gcc/files/3.4.1/gcc341-ppc64-mozilla-ICE-fix.patch
deleted file mode 100644
index 15f744ec7ace..000000000000
--- a/sys-devel/gcc/files/3.4.1/gcc341-ppc64-mozilla-ICE-fix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-===================================================================
-RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.md,v
-retrieving revision 1.284.4.11
-retrieving revision 1.284.4.12
-diff -u -r1.284.4.11 -r1.284.4.12
---- gcc/gcc/config/rs6000/rs6000.md 2004/07/15 21:03:10 1.284.4.11
-+++ gcc/gcc/config/rs6000/rs6000.md 2004/07/27 01:51:40 1.284.4.12
-@@ -8549,7 +8549,7 @@
- }")
-
- (define_insn "*movdi_internal64"
-- [(set (match_operand:DI 0 "nonimmediate_operand" "=Y,r,b,r,r,r,r,r,?f,f,m,r,*h,*h")
-+ [(set (match_operand:DI 0 "nonimmediate_operand" "=Y,r,b,r,r,r,r,r,??f,f,m,r,*h,*h")
- (match_operand:DI 1 "input_operand" "r,Y,m,r,I,L,nF,R,f,m,f,*h,r,0"))]
- "TARGET_POWERPC64
- && (gpc_reg_operand (operands[0], DImode)
diff --git a/sys-devel/gcc/files/3.4.2/gcc-3.4.2-mips-ip28_cache_barriers.patch b/sys-devel/gcc/files/3.4.2/gcc-3.4.2-mips-ip28_cache_barriers.patch
deleted file mode 100644
index 38b183288ba9..000000000000
--- a/sys-devel/gcc/files/3.4.2/gcc-3.4.2-mips-ip28_cache_barriers.patch
+++ /dev/null
@@ -1,392 +0,0 @@
---- gcc-3.4.2/gcc/config/mips/mips.h Thu Jul 15 02:42:47 2004
-+++ gcc-3.4.2/gcc/config/mips/mips.h Sat Sep 18 00:41:48 2004
-@@ -122,6 +122,7 @@
- extern const char *mips_isa_string; /* for -mips{1,2,3,4} */
- extern const char *mips_abi_string; /* for -mabi={32,n32,64} */
- extern const char *mips_cache_flush_func;/* for -mflush-func= and -mno-flush-func */
-+extern const char *mips_ip28_cache_barrier;/* for -mip28-cache-barrier */
- extern int mips_string_length; /* length of strings for mips16 */
- extern const struct mips_cpu_info mips_cpu_info_table[];
- extern const struct mips_cpu_info *mips_arch_info;
-@@ -333,6 +334,7 @@
- #define TARGET_MIPS9000 (mips_arch == PROCESSOR_R9000)
- #define TARGET_SB1 (mips_arch == PROCESSOR_SB1)
- #define TARGET_SR71K (mips_arch == PROCESSOR_SR71000)
-+#define TARGET_IP28 (mips_ip28_cache_barrier != 0)
-
- /* Scheduling target defines. */
- #define TUNE_MIPS3000 (mips_tune == PROCESSOR_R3000)
-@@ -752,6 +754,8 @@
- N_("Don't call any cache flush functions"), 0}, \
- { "flush-func=", &mips_cache_flush_func, \
- N_("Specify cache flush function"), 0}, \
-+ { "ip28-cache-barrier", &mips_ip28_cache_barrier, \
-+ N_("Generate special cache barriers for SGI Indigo2 R10k"), 0}, \
- }
-
- /* This is meant to be redefined in the host dependent files. */
-@@ -3448,3 +3452,11 @@
- " TEXT_SECTION_ASM_OP);
- #endif
- #endif
-+
-+#define ASM_OUTPUT_R10K_CACHE_BARRIER(STREAM) \
-+ fprintf (STREAM, "\tcache 0x14,0($sp)\t%s Cache Barrier\n", ASM_COMMENT_START)
-+
-+/*
-+ * mips.h Thu Jul 15 02:42:47 2004
-+ * mips.h Fri Sep 17 23:18:19 2004 ip28
-+ */
---- gcc-3.4.2/gcc/config/mips/mips.c Wed Jul 7 21:21:10 2004
-+++ gcc-3.4.2/gcc/config/mips/mips.c Fri Sep 17 23:33:44 2004
-@@ -502,6 +502,11 @@
-
- const char *mips_cache_flush_func = CACHE_FLUSH_FUNC;
-
-+/* Nonzero means generate special cache barriers to inhibit speculative
-+ stores which might endanger cache coherency or reference invalid
-+ addresses (especially on SGI's Indigo2 R10k (IP28)). */
-+const char *mips_ip28_cache_barrier;
-+
- /* If TRUE, we split addresses into their high and low parts in the RTL. */
- int mips_split_addresses;
-
-@@ -9676,3 +9681,7 @@
- #endif /* TARGET_IRIX */
-
- #include "gt-mips.h"
-+/*
-+ * mips.c Wed Jul 7 21:21:10 2004
-+ * mips.c Fri Sep 17 23:25:53 2004 ip28
-+ */
---- gcc-3.4.2/gcc/final.c Sun Jan 18 23:39:57 2004
-+++ gcc-3.4.2/gcc/final.c Fri Nov 19 00:40:50 2004
-@@ -146,6 +146,13 @@
-
- static rtx last_ignored_compare = 0;
-
-+/* Flag indicating this insn is the start of a new basic block. */
-+
-+#define NEW_BLOCK_LABEL 1
-+#define NEW_BLOCK_BRANCH 2
-+
-+static int new_block = NEW_BLOCK_LABEL;
-+
- /* Assign a unique number to each insn that is output.
- This can be used to generate unique local labels. */
-
-@@ -235,6 +242,7 @@
- #ifdef HAVE_ATTR_length
- static int align_fuzz (rtx, rtx, int, unsigned);
- #endif
-+static int output_store_cache_barrier (FILE *, rtx);
-
- /* Initialize data in final at the beginning of a compilation. */
-
-@@ -1505,6 +1513,7 @@
- int seen = 0;
-
- last_ignored_compare = 0;
-+ new_block = NEW_BLOCK_LABEL;
-
- #ifdef SDB_DEBUGGING_INFO
- /* When producing SDB debugging info, delete troublesome line number
-@@ -1571,6 +1580,7 @@
-
- insn = final_scan_insn (insn, file, optimize, prescan, 0, &seen);
- }
-+ new_block = 0;
- }
-
- const char *
-@@ -1851,6 +1861,7 @@
- #endif
- if (prescan > 0)
- break;
-+ new_block = NEW_BLOCK_LABEL;
-
- if (LABEL_NAME (insn))
- (*debug_hooks->label) (insn);
-@@ -2009,6 +2020,26 @@
-
- break;
- }
-+
-+#ifdef TARGET_IP28
-+ if (new_block)
-+ {
-+ /* .reorder: not really in the branch-delay-slot. */
-+ if (! set_noreorder)
-+ new_block = NEW_BLOCK_LABEL;
-+
-+ if (new_block == NEW_BLOCK_BRANCH)
-+ /* Not yet, only *after* the branch-delay-slot ! */
-+ new_block = NEW_BLOCK_LABEL;
-+ else
-+ {
-+ if (TARGET_IP28)
-+ output_store_cache_barrier (file, insn);
-+ new_block = 0;
-+ }
-+ }
-+#endif
-+
- /* Output this line note if it is the first or the last line
- note in a row. */
- if (notice_source_line (insn))
-@@ -2132,8 +2163,29 @@
- clobbered by the function. */
- if (GET_CODE (XVECEXP (body, 0, 0)) == CALL_INSN)
- {
-+#ifdef TARGET_IP28
-+ if (TARGET_IP28)
-+ new_block = NEW_BLOCK_LABEL;
-+#endif
- CC_STATUS_INIT;
- }
-+#ifdef TARGET_IP28
-+ /* Following a conditional branch sequence, we have a new basic
-+ block. */
-+ if (TARGET_IP28)
-+ {
-+ rtx insn = XVECEXP (body, 0, 0);
-+ rtx body = PATTERN (insn);
-+
-+ if ((GET_CODE (insn) == JUMP_INSN && GET_CODE (body) == SET
-+ && GET_CODE (SET_SRC (body)) != LABEL_REF)
-+ || (GET_CODE (insn) == JUMP_INSN
-+ && GET_CODE (body) == PARALLEL
-+ && GET_CODE (XVECEXP (body, 0, 0)) == SET
-+ && GET_CODE (SET_SRC (XVECEXP (body, 0, 0))) != LABEL_REF))
-+ new_block = NEW_BLOCK_LABEL;
-+ }
-+#endif
- break;
- }
-
-@@ -2188,6 +2240,20 @@
- }
- #endif
-
-+#ifdef TARGET_IP28
-+ /* Following a conditional branch, we have a new basic block.
-+ But if we are inside a sequence, the new block starts after the
-+ last insn of the sequence. */
-+ if (TARGET_IP28 && final_sequence == 0
-+ && (GET_CODE (insn) == CALL_INSN
-+ || (GET_CODE (insn) == JUMP_INSN && GET_CODE (body) == SET
-+ && GET_CODE (SET_SRC (body)) != LABEL_REF)
-+ || (GET_CODE (insn) == JUMP_INSN && GET_CODE (body) == PARALLEL
-+ && GET_CODE (XVECEXP (body, 0, 0)) == SET
-+ && GET_CODE (SET_SRC (XVECEXP (body, 0, 0))) != LABEL_REF)))
-+ new_block = NEW_BLOCK_BRANCH;
-+#endif
-+
- #ifndef STACK_REGS
- /* Don't bother outputting obvious no-ops, even without -O.
- This optimization is fast and doesn't interfere with debugging.
-@@ -2402,6 +2468,7 @@
-
- if (prev_nonnote_insn (insn) != last_ignored_compare)
- abort ();
-+ new_block = 0;
-
- /* We have already processed the notes between the setter and
- the user. Make sure we don't process them again, this is
-@@ -2435,6 +2502,7 @@
- abort ();
- #endif
-
-+ new_block = 0;
- return new;
- }
-
-@@ -3866,3 +3934,188 @@
- symbol_queue_size = 0;
- }
- }
-+
-+
-+#ifdef TARGET_IP28
-+
-+/* Check, whether `insn' is a possibly harmful store instruction, i.e.
-+ a store which might cause damage, if speculatively executed. */
-+
-+static int /*inline*/
-+check_pattern_for_store (rtx body)
-+{
-+ /* Check for (set (mem:M (non_stackpointer_address) ...)). Here we
-+ assume, that addressing with the stackpointer accesses neither
-+ uncached-aliased nor invalid memory. (May be, this applies to the
-+ global pointer and frame pointer also, but its saver not to assume
-+ it. And probably it's not worthwile to regard these registers) */
-+
-+ if (body && GET_CODE (body) == SET)
-+ {
-+ rtx xexp = SET_DEST (body);
-+ if (GET_CODE (xexp) == MEM)
-+ {
-+ /* Check for the most common stackpointer-addressing modes.
-+ It's not worthwile to avoid a cache barrier also on the
-+ remaining unfrequently used modes. */
-+ xexp = XEXP (xexp, 0);
-+ switch (GET_CODE (xexp))
-+ {
-+ case REG:
-+ if (REGNO (xexp) == STACK_POINTER_REGNUM)
-+ return 0;
-+ break;
-+ case PLUS: case MINUS: /* always `SP + const' ? */
-+ if (GET_CODE (XEXP (xexp, 0)) == REG
-+ && REGNO (XEXP (xexp, 0)) == STACK_POINTER_REGNUM)
-+ return 0;
-+ if (GET_CODE (XEXP (xexp, 1)) == REG
-+ && REGNO (XEXP (xexp, 1)) == STACK_POINTER_REGNUM)
-+ return 0;
-+ }
-+ return 1;
-+ }
-+ }
-+ return 0;
-+}
-+
-+static int
-+check_insn_for_store (int state, rtx insn)
-+{
-+ /* Check for (ins (set (mem:M (dangerous_address)) ...)) or end of the
-+ current basic block.
-+ Criteria to recognize end-of/next basic-block are reduplicated here
-+ from final_scan_insn. */
-+
-+ rtx body;
-+ int code;
-+
-+ if (INSN_DELETED_P (insn))
-+ return 0;
-+
-+ switch (code = GET_CODE (insn))
-+ {
-+ case CODE_LABEL:
-+ return -1;
-+ case CALL_INSN:
-+ case JUMP_INSN:
-+ case INSN:
-+ body = PATTERN (insn);
-+ if (GET_CODE (body) == SEQUENCE)
-+ {
-+ /* A delayed-branch sequence */
-+ rtx ins0 = XVECEXP (body, 0, 0);
-+ rtx pat0 = PATTERN (ins0);
-+ int i;
-+ for (i = 0; i < XVECLEN (body, 0); i++)
-+ {
-+ rtx insq = XVECEXP (body, 0, i);
-+ if (! INSN_DELETED_P (insq))
-+ {
-+ int j = check_insn_for_store (state|1, insq);
-+ if (j)
-+ return j;
-+ }
-+ }
-+ /* Following a conditional branch sequence, we have a new
-+ basic block. */
-+ if (GET_CODE (ins0) == JUMP_INSN)
-+ if ((GET_CODE (pat0) == SET
-+ && GET_CODE (SET_SRC (pat0)) != LABEL_REF)
-+ || (GET_CODE (pat0) == PARALLEL
-+ && GET_CODE (XVECEXP (pat0, 0, 0)) == SET
-+ && GET_CODE (SET_SRC (XVECEXP (pat0, 0, 0))) != LABEL_REF))
-+ return -1;
-+ /* Handle a call sequence like a conditional branch sequence */
-+ if (GET_CODE (ins0) == CALL_INSN)
-+ return -1;
-+ break;
-+ }
-+ if (GET_CODE (body) == PARALLEL)
-+ {
-+ int i;
-+ for (i = 0; i < XVECLEN (body, 0); i++)
-+ if (check_pattern_for_store (XVECEXP (body, 0, i)))
-+ return 1;
-+ }
-+ /* Now, only a `simple' INSN or JUMP_INSN remains to be checked. */
-+ if (code == INSN)
-+ if (check_pattern_for_store (body))
-+ return 1;
-+ /* Handle a CALL_INSN instruction like a conditional branch */
-+ if (code == JUMP_INSN || code == CALL_INSN)
-+ {
-+ /* Following a conditional branch, we have a new basic block. */
-+ int ckds = 0;
-+ if (code == CALL_INSN)
-+ ckds = 1;
-+ else
-+ {
-+ code = GET_CODE (body);
-+ if ((code == SET
-+ && GET_CODE (SET_SRC (body)) != LABEL_REF)
-+ || (code == PARALLEL
-+ && GET_CODE (XVECEXP (body, 0, 0)) == SET
-+ && GET_CODE (SET_SRC (XVECEXP (body, 0, 0))) != LABEL_REF))
-+ ckds = 1;
-+ }
-+ if (ckds)
-+ {
-+ /* But check insn(s) in delay-slot first. If we could know in
-+ advance that this jump is in `.reorder' mode, where gas will
-+ insert a `nop' into the delay-slot, we could skip this test.
-+ Since we don't know, always assume `.noreorder', sometimes
-+ emitting a cache-barrier, that isn't needed. */
-+ /* But if we are here recursively, already checking a (pseudo-)
-+ delay-slot, we are done. */
-+ if ( !(state & 2) )
-+ for (insn = NEXT_INSN (insn); insn; insn = NEXT_INSN (insn))
-+ switch (GET_CODE (insn))
-+ {
-+ case INSN:
-+ if (check_insn_for_store (state|1|2, insn) > 0)
-+ return 1;
-+ case CODE_LABEL:
-+ case CALL_INSN:
-+ case JUMP_INSN:
-+ return -1;
-+ default:
-+ /* skip NOTE,... */;
-+ }
-+ return -1;
-+ }
-+ }
-+ /*break*/
-+ }
-+ return 0;
-+}
-+
-+/* Scan a basic block, starting with `insn', for a possibly harmful store
-+ instruction. If found, output a cache barrier at the start of this
-+ block. */
-+
-+static int
-+output_store_cache_barrier (FILE *file, rtx insn)
-+{
-+ for (; insn; insn = NEXT_INSN (insn))
-+ {
-+ int found = check_insn_for_store (0, insn);
-+ if (found < 0)
-+ break;
-+ if (found > 0)
-+ {
-+ /* found critical store instruction */
-+ ASM_OUTPUT_R10K_CACHE_BARRIER(file);
-+ return 1;
-+ }
-+ }
-+ fprintf(file, "\t%s Cache Barrier omitted.\n", ASM_COMMENT_START);
-+ return 0;
-+}
-+
-+#endif /* TARGET_IP28 */
-+
-+/*
-+ * final.c Sun Jan 18 23:39:57 2004
-+ * final.c Sat Sep 18 00:23:34 2004 ip28
-+ */
diff --git a/sys-devel/gcc/files/3.4.3/35_all_pr18987-fix.patch b/sys-devel/gcc/files/3.4.3/35_all_pr18987-fix.patch
deleted file mode 100644
index 0a3661ab1f12..000000000000
--- a/sys-devel/gcc/files/3.4.3/35_all_pr18987-fix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-2004-01-12 David Mosberger <davidm@hpl.hp.com>
- James E Wilson <wilson@specifixinc.com>
-
- PR target/18987
- * config/ia64/ia64.c (process_set): For alloc insn, only call
- process_epilogue is !frame_pointer_needed.
-
-http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18987
-
---- gcc/gcc/config/ia64/ia64.c
-+++ gcc/gcc/config/ia64/ia64.c
-@@ -7840,7 +7840,7 @@
- followed by a new prologue. If the procedure doesn't
- have a memory-stack frame, we'll issue a dummy ".restore
- sp" now. */
-- if (current_frame_info.total_size == 0)
-+ if (current_frame_info.total_size == 0 && !frame_pointer_needed)
- /* if haven't done process_epilogue() yet, do it now */
- process_epilogue ();
- fprintf (asm_out_file, "\t.prologue\n");