Module Name: src Committed By: martin Date: Sun Sep 1 13:10:27 UTC 2019
Modified Files: src/external/gpl3/gcc/dist/gcc [netbsd-9]: dse.c reload.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.9.2.1 src/external/gpl3/gcc/dist/gcc/dse.c cvs rdiff -u -r1.7 -r1.7.2.1 src/external/gpl3/gcc/dist/gcc/reload.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/dist/gcc/dse.c diff -u src/external/gpl3/gcc/dist/gcc/dse.c:1.9 src/external/gpl3/gcc/dist/gcc/dse.c:1.9.2.1 --- src/external/gpl3/gcc/dist/gcc/dse.c:1.9 Sat Jan 19 12:10:04 2019 +++ src/external/gpl3/gcc/dist/gcc/dse.c Sun Sep 1 13:10:27 2019 @@ -290,7 +290,7 @@ static unsigned HOST_WIDE_INT 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; Index: src/external/gpl3/gcc/dist/gcc/reload.c diff -u src/external/gpl3/gcc/dist/gcc/reload.c:1.7 src/external/gpl3/gcc/dist/gcc/reload.c:1.7.2.1 --- src/external/gpl3/gcc/dist/gcc/reload.c:1.7 Sat Jan 19 12:10:04 2019 +++ src/external/gpl3/gcc/dist/gcc/reload.c Sun Sep 1 13:10:27 2019 @@ -1148,7 +1148,7 @@ push_reload (rtx in, rtx out, rtx *inloc 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