(GO_IF_NONINDEXED_ADDRESS): If reload_in_progress,

check a REG's reg_equiv_mem the way we would check a MEM.

From-SVN: r4784
This commit is contained in:
Richard Stallman 1993-06-28 07:44:34 +00:00
parent c1875d66e2
commit cc93088804
1 changed files with 7 additions and 1 deletions

View File

@ -675,7 +675,13 @@ gen_rtx (PLUS, Pmode, frame, gen_rtx (CONST_INT, VOIDmode, 12))
(This much is the easy part.) */
#define GO_IF_NONINDEXED_ADDRESS(X, ADDR) \
{ register rtx xfoob = (X); \
if (GET_CODE (xfoob) == REG) goto ADDR; \
if (GET_CODE (xfoob) == REG) \
{ \
if (! reload_in_progress \
|| reg_equiv_mem[REGNO (xfoob)] == 0 \
|| INDIRECTABLE_ADDRESS_P (reg_equiv_mem[REGNO (xfoob)])) \
goto ADDR; \
} \
if (CONSTANT_ADDRESS_P (xfoob)) goto ADDR; \
if (INDIRECTABLE_ADDRESS_P (xfoob)) goto ADDR; \
xfoob = XEXP (X, 0); \