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.
This commit is contained in:
parent
8aca61e162
commit
ff10a67c90
|
@ -290,7 +290,7 @@ static unsigned HOST_WIDE_INT
|
||||||
lowpart_bitmask (int n)
|
lowpart_bitmask (int n)
|
||||||
{
|
{
|
||||||
unsigned HOST_WIDE_INT mask = HOST_WIDE_INT_M1U;
|
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);
|
gcc_assert(n >= 0 && n <= HOST_BITS_PER_WIDE_INT);
|
||||||
if (n == 0)
|
if (n == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -1148,7 +1148,7 @@ push_reload (rtx in, rtx out, rtx *inloc, rtx *outloc,
|
||||||
SUBREG_BYTE (in),
|
SUBREG_BYTE (in),
|
||||||
GET_MODE (in)),
|
GET_MODE (in)),
|
||||||
REGNO (SUBREG_REG (in)));
|
REGNO (SUBREG_REG (in)));
|
||||||
#ifdef __NetBSD__ // XXXMRG
|
#if 1 // XXXMRG
|
||||||
else if (REG_P (SUBREG_REG (in))
|
else if (REG_P (SUBREG_REG (in))
|
||||||
|| GET_CODE (SUBREG_REG (in)) == SYMBOL_REF)
|
|| GET_CODE (SUBREG_REG (in)) == SYMBOL_REF)
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue