rtl.def (CONST_VECTOR): Use RTX_CONST_OBJ.
authorRichard Henderson <rth@redhat.com>
Thu, 20 Jan 2005 11:03:23 +0000 (03:03 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 20 Jan 2005 11:03:23 +0000 (03:03 -0800)
        * rtl.def (CONST_VECTOR): Use RTX_CONST_OBJ.
        * rtl.h (CONSTANT_P): Don't special case CONST_VECTOR.

From-SVN: r93958

gcc/ChangeLog
gcc/rtl.def
gcc/rtl.h

index 644d216761302822a6490c96ab5540019ab29cb7..c8cc63c48ecb014c5ed8a3025751e604f986098e 100644 (file)
@@ -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
index b37d7e5eee618027989195bd9a64bd8def875e0a..8ef471f984589b41bca6815ee6b465d518371c36 100644 (file)
@@ -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-
index 7f9a7df40db2c4b60e9d245bafc73bfebfd3aa17..3fe09630105e6fd498672c318a29b57eb22448c8 100644 (file)
--- 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)                                                    \