pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc34-ada/patches Remove three unnecessary patche...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2cf0f1a05f87
branches:  trunk
changeset: 478694:2cf0f1a05f87
user:      shannonjr <shannonjr%pkgsrc.org@localhost>
date:      Wed Jul 28 14:20:38 2004 +0000

description:
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.

diffstat:

 lang/gcc34-ada/patches/patch-function_c                  |  36 ----------------
 lang/gcc34-ada/patches/patch-libstdc++-v3_configure_host |  24 ----------
 lang/gcc34-ada/patches/patch-varasm                      |  13 -----
 3 files changed, 0 insertions(+), 73 deletions(-)

diffs (85 lines):

diff -r 4ebeea076e8c -r 2cf0f1a05f87 lang/gcc34-ada/patches/patch-function_c
--- a/lang/gcc34-ada/patches/patch-function_c   Wed Jul 28 14:20:09 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 4ebeea076e8c -r 2cf0f1a05f87 lang/gcc34-ada/patches/patch-libstdc++-v3_configure_host
--- a/lang/gcc34-ada/patches/patch-libstdc++-v3_configure_host  Wed Jul 28 14:20:09 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 4ebeea076e8c -r 2cf0f1a05f87 lang/gcc34-ada/patches/patch-varasm
--- a/lang/gcc34-ada/patches/patch-varasm       Wed Jul 28 14:20:09 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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:
-



Home | Main Index | Thread Index | Old Index