Commit 5542b23d by Nick Clifton Committed by Nick Clifton

(legitimate_address_p): Reject address whose index is itself the sum of two

other parts.

From-SVN: r91991
parent d5f60056
2004-12-10 Nick Clifton <nickc@redhat.com>
* config/mn10300/mn10300.c (legitimate_address_p): Reject address
whose index is itself the sum of two other parts.
2004-12-10 Alan Modra <amodra@bigpond.net.au>
* config/t-slibgcc-sld (SHLIB_LINK): Correct symlink.
......
......@@ -1887,6 +1887,7 @@ legitimate_address_p (enum machine_mode mode, rtx x, int strict)
if (GET_CODE (index) == CONST_INT)
return TRUE;
if (GET_CODE (index) == CONST
&& GET_CODE (XEXP (index, 0)) != PLUS
&& (! flag_pic
|| legitimate_pic_operand_p (index)))
return TRUE;
......
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