This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
followup to target/19518
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 20 Jan 2005 03:06:04 -0800
- Subject: followup to target/19518
As mentioned in a previous message. This was surely just a think-o
originally, and was propagated intact to the new mask and predicate
scheme.
Tested on alphaev67-linux.
r~
* rtl.def (CONST_VECTOR): Use RTX_CONST_OBJ.
* rtl.h (CONSTANT_P): Don't special case CONST_VECTOR.
Index: rtl.def
===================================================================
RCS file: /cvs/gcc/gcc/gcc/rtl.def,v
retrieving revision 1.98
diff -u -p -d -r1.98 rtl.def
--- rtl.def 18 Jan 2005 11:36:19 -0000 1.98
+++ rtl.def 20 Jan 2005 11:01:08 -0000
@@ -315,7 +315,7 @@ DEF_RTL_EXPR(CONST_INT, "const_int", "w"
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: rtl.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/rtl.h,v
retrieving revision 1.532
diff -u -p -d -r1.532 rtl.h
--- rtl.h 17 Jan 2005 08:46:15 -0000 1.532
+++ rtl.h 20 Jan 2005 11:01:09 -0000
@@ -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) \