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/eef7a40e03bf
branches: trunk
changeset: 1003067:eef7a40e03bf
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 522c520ede38 -r eef7a40e03bf 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 522c520ede38 -r eef7a40e03bf 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