Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/dist/gcc Don't keep our local modification...



details:   https://anonhg.NetBSD.org/src/rev/de168e98353f
branches:  trunk
changeset: 965032:de168e98353f
user:      maya <maya%NetBSD.org@localhost>
date:      Thu Aug 29 11:45:29 2019 +0000

description:
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 e3fa305974f0 -r de168e98353f external/gpl3/gcc/dist/gcc/dse.c
--- a/external/gpl3/gcc/dist/gcc/dse.c  Thu Aug 29 09:45:22 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/dse.c  Thu Aug 29 11:45:29 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 e3fa305974f0 -r de168e98353f external/gpl3/gcc/dist/gcc/reload.c
--- a/external/gpl3/gcc/dist/gcc/reload.c       Thu Aug 29 09:45:22 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/reload.c       Thu Aug 29 11:45:29 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