mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-28 22:45:33 +08:00
s390.c (s390_decompose_address): Use arg_pointer_rtx for comparison.
* config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx for comparison. From-SVN: r58799
This commit is contained in:
parent
40673d2b88
commit
e86e721fc7
@ -1,3 +1,8 @@
|
||||
2002-11-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
|
||||
for comparison.
|
||||
|
||||
2002-11-04 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
* hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
|
||||
|
@ -1605,12 +1605,11 @@ s390_decompose_address (addr, out)
|
||||
Thus we don't check the displacement for validity here. If after
|
||||
elimination the displacement turns out to be invalid after all,
|
||||
this is fixed up by reload in any case. */
|
||||
if ((base && REGNO (base) == ARG_POINTER_REGNUM)
|
||||
|| (indx && REGNO (indx) == ARG_POINTER_REGNUM))
|
||||
;
|
||||
|
||||
else if (INTVAL (disp) < 0 || INTVAL (disp) >= 4096)
|
||||
return FALSE;
|
||||
if (base != arg_pointer_rtx && indx != arg_pointer_rtx)
|
||||
{
|
||||
if (INTVAL (disp) < 0 || INTVAL (disp) >= 4096)
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/* In the small-PIC case, the linker converts @GOT12
|
||||
|
Loading…
Reference in New Issue
Block a user