At the suggestion of Richard Earnshaw I have changed GO_IF_LEGITIMATE_ADDRESS...

At the suggestion of Richard Earnshaw I have changed GO_IF_LEGITIMATE_ADDRESS
so that it tests for equality to frame-pointer-rtx rather than
FRAME_POINTER_REGNUM.

From-SVN: r19467
This commit is contained in:
Nick Clifton 1998-04-28 08:26:56 +00:00 committed by Nick Clifton
parent 9ac1d79d9d
commit 3a6bd8c027
2 changed files with 7 additions and 2 deletions

View File

@ -59,6 +59,11 @@ Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
* config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
frame_pointer_rtx not FRAME_POINTER_REGNUM.
Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
* reg-stack.c: Revert last patch (Apr 20).

View File

@ -900,8 +900,8 @@ int thumb_shiftable_const ();
if (GET_MODE_SIZE (MODE) <= 4 \
&& GET_CODE (XEXP (X, 0)) == REG \
&& GET_CODE (XEXP (X, 1)) == REG \
&& REGNO (XEXP (X, 0)) != FRAME_POINTER_REGNUM \
&& REGNO (XEXP (X, 1)) != FRAME_POINTER_REGNUM \
&& XEXP (X, 0) != frame_pointer_rtx \
&& XEXP (X, 1) != frame_pointer_rtx \
&& REG_OK_FOR_INDEX_P (XEXP (X, 0)) \
&& REG_OK_FOR_INDEX_P (XEXP (X, 1))) \
goto WIN; \