fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame pointer or arg pointer register which strict...

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

From-SVN: r53039
This commit is contained in:
Nick Clifton 2002-05-02 07:55:32 +00:00 committed by Nick Clifton
parent fd8ec1d8b9
commit 40f4a97d59
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -1078,8 +1078,9 @@ do \
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; \