aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-01-20 11:03:23 +0000
committerRichard Henderson <rth@redhat.com>2005-01-20 11:03:23 +0000
commit00f6e3a1eac5ffbf98ce4014fd6d97aaf504e2b4 (patch)
tree28f7b3fb7a40d2628e962c9cbcd19ff22b0ec006 /gcc/rtl.h
parent2970c271b5e16ea768d96d8c7d4825ac0e4579fb (diff)
* rtl.def (CONST_VECTOR): Use RTX_CONST_OBJ.
* rtl.h (CONSTANT_P): Don't special case CONST_VECTOR. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@93958 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 7f9a7df40db..3fe09630105 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -382,8 +382,7 @@ struct rtvec_def GTY(()) {
/* 1 if X is a constant value that is an integer. */
#define CONSTANT_P(X) \
- (GET_RTX_CLASS (GET_CODE (X)) == RTX_CONST_OBJ \
- || GET_CODE (X) == CONST_VECTOR)
+ (GET_RTX_CLASS (GET_CODE (X)) == RTX_CONST_OBJ)
/* 1 if X can be used to represent an object. */
#define OBJECT_P(X) \