summaryrefslogtreecommitdiff
path: root/gcc/config/fx80
diff options
context:
space:
mode:
authorbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>1993-03-31 20:09:44 +0000
committerbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>1993-03-31 20:09:44 +0000
commit145ccd50dff6a748f46ce3dbf59f0e068d78e44a (patch)
treeb0f64862f346f519af2235d5a83199df2c25a57a /gcc/config/fx80
parentc2ee31c09ed9226794a47ebf6bd489eaf429f860 (diff)
downloadgcc-145ccd50dff6a748f46ce3dbf59f0e068d78e44a.tar.gz
define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3954 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/fx80')
-rw-r--r--gcc/config/fx80/fx80.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/fx80/fx80.h b/gcc/config/fx80/fx80.h
index 01f738dfff2..06acdfd0106 100644
--- a/gcc/config/fx80/fx80.h
+++ b/gcc/config/fx80/fx80.h
@@ -653,7 +653,10 @@ extern enum reg_class regno_reg_class[];
/* 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. */