summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-30 20:29:10 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-30 20:29:10 +0000
commit8a09705d8e9f7d9fbb7a2d8dda6bea00d030bcb2 (patch)
treed8e5aced0b850aa121ed5e6a5d8faf78600a23ae
parentb8c0043c7dc2199bf35c99ecf874cde086c2c3d5 (diff)
downloadgcc-8a09705d8e9f7d9fbb7a2d8dda6bea00d030bcb2.tar.gz
* config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Make it always
1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68737 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 08be63ed9f5..d6644a88db8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-30 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Make it always
+ 1.
+
2003-06-30 Ulrich Weigand <uweigand@de.ibm.com>
* config.gcc [s390*-*-*]: Support --with-arch, --with-tune, and
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index c04e531e725..c6918c2ebec 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -802,7 +802,7 @@ struct cum_arg
/* Nonzero if the constant value X is a legitimate general operand.
It is given that X satisfies CONSTANT_P or is a CONST_DOUBLE. */
-#define LEGITIMATE_CONSTANT_P(X) (GET_CODE (X) != CONST_DOUBLE)
+#define LEGITIMATE_CONSTANT_P(X) (1)
/* The macros REG_OK_FOR..._P assume that the arg is a REG rtx
and check its validity for a certain class.