re PR target/18751 (ICE in expr.c:5083, profiledbootstrap)

PR target/18751
	* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Return
	false for anything larger than 32 bits in 32-bit code.

From-SVN: r92535
This commit is contained in:
Alan Modra 2004-12-23 07:34:45 +00:00 committed by Alan Modra
parent ad4f9e7ebb
commit 5e5f01b969
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-12-23 Alan Modra <amodra@bigpond.net.au>
PR target/18751
* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Return
false for anything larger than 32 bits in 32-bit code.
2004-12-22 Richard Henderson <rth@redhat.com>
* config/i386/i386.md (btsq, btrq, btcq): Fix modes.

View File

@ -3324,7 +3324,8 @@ legitimate_lo_sum_address_p (enum machine_mode mode, rtx x, int strict)
return false;
if (GET_MODE_NUNITS (mode) != 1)
return false;
if (GET_MODE_BITSIZE (mode) > 64)
if (GET_MODE_BITSIZE (mode) > 64
|| (GET_MODE_BITSIZE (mode) > 32 && !TARGET_POWERPC64))
return false;
return CONSTANT_P (x);