re PR target/7361 (Internal compiler error in reload_cse_simplify_operands, at reload1.c:8387)

PR target/7361
	* config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
	constant addresses only on 68HC12.

From-SVN: r55658
This commit is contained in:
Stephane Carrez 2002-07-22 23:04:11 +02:00 committed by Stephane Carrez
parent 4a94111573
commit b791ff313e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
PR target/7361
* config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
constant addresses only on 68HC12.
2002-07-22 Neil Booth <neil@daikokuya.co.uk>
* cppfiles.c (stack_include_file): Correct test of whether

View File

@ -660,7 +660,7 @@ go_if_legitimate_address_internal (operand, mode, strict)
enum machine_mode mode;
int strict;
{
if (CONSTANT_ADDRESS_P (operand))
if (CONSTANT_ADDRESS_P (operand) && TARGET_M6812)
{
/* Reject the global variables if they are too wide. This forces
a load of their address in a register and generates smaller code. */