+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.
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