Commit b791ff31 by Stephane Carrez Committed by Stephane Carrez

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
parent 4a941115
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
......
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment