+2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
+ of the frame pointer or arg pointer register which strict register
+ checking is not enabled.
+
2002-05-02 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-8.c: New.
goto LABEL; \
if (GET_CODE (X) == PLUS \
&& ((MODE) == SImode || (MODE) == SFmode) \
- && (XEXP (X, 0) == frame_pointer_rtx \
- || XEXP(X,0) == arg_pointer_rtx) \
+ && GET_CODE (XEXP (X, 0)) == REG \
+ && (REGNO (XEXP (X, 0)) == FRAME_POINTER_REGNUM \
+ || REGNO (XEXP (X, 0)) == ARG_POINTER_REGNUM) \
&& GET_CODE (XEXP (X, 1)) == CONST_INT \
&& IN_RANGE (INTVAL (XEXP (X, 1)), -(1 << 9), (1 << 9) - 4)) \
goto LABEL; \