define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE

From-SVN: r3955
This commit is contained in:
Brendan Kehoe 1993-03-31 15:16:08 -05:00
parent 6eff269e95
commit 9d4dd4e9ce

View File

@ -619,7 +619,10 @@ extern struct rtx_def *function_arg();
/* 1 if X is an rtx for a constant that is a valid address. */
#define CONSTANT_ADDRESS_P(X) CONSTANT_P (X)
#define CONSTANT_ADDRESS_P(X) \
(GET_CODE (X) == LABEL_REF || GET_CODE (X) == SYMBOL_REF \
|| GET_CODE (X) == CONST_INT || GET_CODE (X) == CONST \
|| GET_CODE (X) == HIGH)
/* Nonzero if the constant value X is a legitimate general operand.
It is given that X satisfies CONSTANT_P or is a CONST_DOUBLE. */