diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2004-07-28 14:20:38 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2004-07-28 14:20:38 +0000 |
commit | 6599fc64a92db2911a61fbfd6bbb91816e90ea4a (patch) | |
tree | 1dcd5c77f730dbd42b999cba6edb1bbed1fb3efc | |
parent | 3a4568cd92d9699a483c875bb43356beec4a2c35 (diff) | |
download | pkgsrc-6599fc64a92db2911a61fbfd6bbb91816e90ea4a.tar.gz |
Remove three unnecessary patches. The need for two of them is eliminated
by changes in the 3.4.1 source. The third does not apply to the Ada
language.
-rw-r--r-- | lang/gcc34-ada/patches/patch-function_c | 36 | ||||
-rw-r--r-- | lang/gcc34-ada/patches/patch-libstdc++-v3_configure_host | 24 | ||||
-rw-r--r-- | lang/gcc34-ada/patches/patch-varasm | 13 |
3 files changed, 0 insertions, 73 deletions
diff --git a/lang/gcc34-ada/patches/patch-function_c b/lang/gcc34-ada/patches/patch-function_c deleted file mode 100644 index 56ba46c1ab9..00000000000 --- a/lang/gcc34-ada/patches/patch-function_c +++ /dev/null @@ -1,36 +0,0 @@ -$NetBSD: patch-function_c,v 1.1.1.1 2004/06/29 18:00:17 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-ada/patches/patch-libstdc++-v3_configure_host b/lang/gcc34-ada/patches/patch-libstdc++-v3_configure_host deleted file mode 100644 index 3b2cb3add7e..00000000000 --- a/lang/gcc34-ada/patches/patch-libstdc++-v3_configure_host +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-libstdc++-v3_configure_host,v 1.1.1.1 2004/06/29 18:00:17 shannonjr Exp $ - ---- libstdc++-v3/configure.host.orig 2004-03-18 10:36:12.000000000 -0700 -+++ libstdc++-v3/configure.host -@@ -227,6 +227,9 @@ case "${host}" in - x86_64-*-linux*) - abi_baseline_pair="x86_64-linux-gnu" - ;; -+ x86_64-*-netbsd*) -+ abi_baseline_pair="x86_64-netbsdelf2.0" -+ ;; - alpha*-*-freebsd5*) - abi_baseline_pair="alpha-freebsd5" - ;; -@@ -236,6 +239,9 @@ case "${host}" in - i*86-*-freebsd5*) - abi_baseline_pair="i386-freebsd5" - ;; -+ i*86-*-netbsd*) -+ abi_baseline_pair="i386-netbsdelf2.0" -+ ;; - sparc*-*-freebsd5*) - abi_baseline_pair="sparc-freebsd5" - ;; diff --git a/lang/gcc34-ada/patches/patch-varasm b/lang/gcc34-ada/patches/patch-varasm deleted file mode 100644 index 2f8966f2f6c..00000000000 --- a/lang/gcc34-ada/patches/patch-varasm +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-varasm,v 1.1.1.1 2004/06/29 18:00:17 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: - |