Source-Changes-HG archive

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

[src/netbsd-9]: src/external/gpl3/gcc/dist/gcc Pull up following revision(s) ...



details:   https://anonhg.NetBSD.org/src/rev/46ba2f173a4e
branches:  netbsd-9
changeset: 453946:46ba2f173a4e
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Sep 01 13:10:27 2019 +0000

description:
Pull up following revision(s) (requested by maya in ticket #137):

        external/gpl3/gcc/dist/gcc/dse.c: revision 1.10
        external/gpl3/gcc/dist/gcc/reload.c: revision 1.8

Don't keep our local modifications as ifdef __NetBSD__.

When we build netbsd on another OS, we produce a cross compiler without
these definitions.

Fixes some compiler crashes when building netbsd/vax on linux.

diffstat:

 external/gpl3/gcc/dist/gcc/dse.c    |  2 +-
 external/gpl3/gcc/dist/gcc/reload.c |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 0d721dc32353 -r 46ba2f173a4e external/gpl3/gcc/dist/gcc/dse.c
--- a/external/gpl3/gcc/dist/gcc/dse.c  Sun Sep 01 13:08:12 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/dse.c  Sun Sep 01 13:10:27 2019 +0000
@@ -290,7 +290,7 @@
 lowpart_bitmask (int n)
 {
   unsigned HOST_WIDE_INT mask = HOST_WIDE_INT_M1U;
-#ifdef __NetBSD__ // XXXMRG
+#if 1 // XXXMRG
   gcc_assert(n >= 0 && n <= HOST_BITS_PER_WIDE_INT);
   if (n == 0)
     return 0;
diff -r 0d721dc32353 -r 46ba2f173a4e external/gpl3/gcc/dist/gcc/reload.c
--- a/external/gpl3/gcc/dist/gcc/reload.c       Sun Sep 01 13:08:12 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/reload.c       Sun Sep 01 13:10:27 2019 +0000
@@ -1148,7 +1148,7 @@
                                                   SUBREG_BYTE (in),
                                                   GET_MODE (in)),
                              REGNO (SUBREG_REG (in)));
-#ifdef __NetBSD__ // XXXMRG
+#if 1 // XXXMRG
       else if (REG_P (SUBREG_REG (in))
                || GET_CODE (SUBREG_REG (in)) == SYMBOL_REF)
 #else



Home | Main Index | Thread Index | Old Index