Commit 9d4dd4e9 by Brendan Kehoe

define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE

From-SVN: r3955
parent 6eff269e
...@@ -619,7 +619,10 @@ extern struct rtx_def *function_arg(); ...@@ -619,7 +619,10 @@ extern struct rtx_def *function_arg();
/* 1 if X is an rtx for a constant that is a valid address. */ /* 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. /* Nonzero if the constant value X is a legitimate general operand.
It is given that X satisfies CONSTANT_P or is a CONST_DOUBLE. */ It is given that X satisfies CONSTANT_P or is a CONST_DOUBLE. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment