summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-20 11:03:23 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-20 11:03:23 +0000
commit0824c0d2334d0964227211b604461fd8f5547e94 (patch)
tree28f7b3fb7a40d2628e962c9cbcd19ff22b0ec006 /gcc
parent21d689c9f46a74cf3d35f69c6c74b125f0cae130 (diff)
downloadgcc-0824c0d2334d0964227211b604461fd8f5547e94.tar.gz
* rtl.def (CONST_VECTOR): Use RTX_CONST_OBJ.
* rtl.h (CONSTANT_P): Don't special case CONST_VECTOR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93958 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/rtl.def2
-rw-r--r--gcc/rtl.h3
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 644d2167613..c8cc63c48ec 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-20 Richard Henderson <rth@redhat.com>
+
+ * rtl.def (CONST_VECTOR): Use RTX_CONST_OBJ.
+ * rtl.h (CONSTANT_P): Don't special case CONST_VECTOR.
+
2005-01-19 Richard Henderson <rth@redhat.com>
PR target/19350
diff --git a/gcc/rtl.def b/gcc/rtl.def
index b37d7e5eee6..8ef471f9845 100644
--- a/gcc/rtl.def
+++ b/gcc/rtl.def
@@ -315,7 +315,7 @@ DEF_RTL_EXPR(CONST_INT, "const_int", "w", RTX_CONST_OBJ)
DEF_RTL_EXPR(CONST_DOUBLE, "const_double", CONST_DOUBLE_FORMAT, RTX_CONST_OBJ)
/* Describes a vector constant. */
-DEF_RTL_EXPR(CONST_VECTOR, "const_vector", "E", RTX_EXTRA)
+DEF_RTL_EXPR(CONST_VECTOR, "const_vector", "E", RTX_CONST_OBJ)
/* String constant. Used for attributes in machine descriptions and
for special cases in DWARF2 debug output. NOT used for source-
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) \