diff options
author | Brendan Kehoe <brendan@gcc.gnu.org> | 1993-03-31 15:09:44 -0500 |
---|---|---|
committer | Brendan Kehoe <brendan@gcc.gnu.org> | 1993-03-31 15:09:44 -0500 |
commit | 6eff269e954a906bb2324013a9656d484dabceb2 (patch) | |
tree | b0f64862f346f519af2235d5a83199df2c25a57a /gcc/config/we32k | |
parent | 6ec87b9de9a2749bacdeb1f0a382652c113607b4 (diff) | |
download | gcc-6eff269e954a906bb2324013a9656d484dabceb2.zip gcc-6eff269e954a906bb2324013a9656d484dabceb2.tar.gz gcc-6eff269e954a906bb2324013a9656d484dabceb2.tar.bz2 |
define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE
From-SVN: r3954
Diffstat (limited to 'gcc/config/we32k')
-rw-r--r-- | gcc/config/we32k/we32k.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/we32k/we32k.h b/gcc/config/we32k/we32k.h index 974b8e60..0eee791 100644 --- a/gcc/config/we32k/we32k.h +++ b/gcc/config/we32k/we32k.h @@ -533,7 +533,10 @@ enum reg_class { NO_REGS, GENERAL_REGS, /* Recognize any constant value 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. */ |