summaryrefslogtreecommitdiff
path: root/lang/gcc34/patches
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2004-07-28 07:37:19 +0000
committershannonjr <shannonjr@pkgsrc.org>2004-07-28 07:37:19 +0000
commite7d2deb1708211c5e132d2ac9195eaa83bd8ea3e (patch)
tree80296125349f92e8893c684b2e541f6191b4afe0 /lang/gcc34/patches
parente637e7462809062edded40a9345b1d6a2892a32c (diff)
downloadpkgsrc-e7d2deb1708211c5e132d2ac9195eaa83bd8ea3e.tar.gz
1) Removed two patches because the problem, corrected by the patches, has
been corrected in 3.4.1 source 2) Incremented PKGREVISION 3) Corrected attempt to elimiate hardcoded GCC_PLATFORM=${MACHINE_GNU_ARCH}--netbsdelf2.0
Diffstat (limited to 'lang/gcc34/patches')
-rw-r--r--lang/gcc34/patches/patch-function_c36
-rw-r--r--lang/gcc34/patches/patch-varasm13
2 files changed, 0 insertions, 49 deletions
diff --git a/lang/gcc34/patches/patch-function_c b/lang/gcc34/patches/patch-function_c
deleted file mode 100644
index 394ab8de943..00000000000
--- a/lang/gcc34/patches/patch-function_c
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-function_c,v 1.1.1.1 2004/06/29 18:01:25 shannonjr Exp $
-
---- ./gcc/function.c.orig 2004-03-15 16:22:47.000000000 -0700
-+++ ./gcc/function.c
-@@ -2844,6 +2844,7 @@ gen_mem_addressof (rtx reg, tree decl, i
- RTX_UNCHANGING_P (XEXP (r, 0)) = RTX_UNCHANGING_P (reg);
-
- PUT_CODE (reg, MEM);
-+ MEM_VOLATILE_P (reg) = 0;
- MEM_ATTRS (reg) = 0;
- XEXP (reg, 0) = r;
-
-@@ -2876,11 +2877,9 @@ gen_mem_addressof (rtx reg, tree decl, i
- {
- /* This can only happen during reload. Clear the same flag bits as
- reload. */
-- MEM_VOLATILE_P (reg) = 0;
- RTX_UNCHANGING_P (reg) = 0;
- MEM_IN_STRUCT_P (reg) = 0;
- MEM_SCALAR_P (reg) = 0;
-- MEM_ATTRS (reg) = 0;
-
- fixup_var_refs (reg, GET_MODE (reg), 0, reg, 0);
- }
-@@ -5256,6 +5255,11 @@ assign_parms (tree fndecl)
- {
- SET_DECL_RTL (parm, DECL_RTL (fnargs));
- DECL_INCOMING_RTL (parm) = DECL_INCOMING_RTL (fnargs);
-+ /* Set MEM_EXPR to the original decl, i.e. to PARM,
-+ instead of the copy of decl, i.e. FNARGS. */
-+ if (DECL_INCOMING_RTL (parm)
-+ && GET_CODE (DECL_INCOMING_RTL (parm)) == MEM)
-+ set_mem_expr (DECL_INCOMING_RTL (parm), parm);
- }
- fnargs = TREE_CHAIN (fnargs);
- }
diff --git a/lang/gcc34/patches/patch-varasm b/lang/gcc34/patches/patch-varasm
deleted file mode 100644
index 69722f20717..00000000000
--- a/lang/gcc34/patches/patch-varasm
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-varasm,v 1.1.1.1 2004/06/29 18:01:25 shannonjr Exp $
-
---- gcc/varasm.c.orig 2004-04-14 15:14:08.000000000 -0600
-+++ gcc/varasm.c
-@@ -2331,6 +2331,7 @@ compare_constant (const tree t1, const t
- case NOP_EXPR:
- case CONVERT_EXPR:
- case NON_LVALUE_EXPR:
-+ case VIEW_CONVERT_EXPR:
- return compare_constant (TREE_OPERAND (t1, 0), TREE_OPERAND (t2, 0));
-
- default:
-