Sun Sep 1 13:10:27 2019 UTC ()
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.
(martin)
diff -r1.9 -r1.9.2.1 src/external/gpl3/gcc/dist/gcc/dse.c
diff -r1.7 -r1.7.2.1 src/external/gpl3/gcc/dist/gcc/reload.c
--- src/external/gpl3/gcc/dist/gcc/dse.c 2019/01/19 12:10:04 1.9
+++ src/external/gpl3/gcc/dist/gcc/dse.c 2019/09/01 13:10:27 1.9.2.1
@@ -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;
--- src/external/gpl3/gcc/dist/gcc/reload.c 2019/01/19 12:10:04 1.7
+++ src/external/gpl3/gcc/dist/gcc/reload.c 2019/09/01 13:10:27 1.7.2.1
@@ -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