(legitimate_address_p): Reject address whose index is itself the sum of two
other parts. From-SVN: r91991
This commit is contained in:
parent
d5f60056f0
commit
5542b23d7b
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user