VECTOR_CST, STRING_CST, COMPLEX_CST, and CONSTRUCTOR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79862
138bc75d-0d04-0410-961f-
82ee72b054a4
2004-03-23 Kazu Hirata <kazu@cs.umass.edu>
+ * fold-const.c (fold): Remove cases for INTEGER_CST, REAL_CST,
+ VECTOR_CST, STRING_CST, COMPLEX_CST, and CONSTRUCTOR.
+
+2004-03-23 Kazu Hirata <kazu@cs.umass.edu>
+
PR optimization/14669
* fold-const.c (fold): Only unwiden integer comparisons for equality
and inequality operators, or when the signedness doesn't change.
switch (code)
{
- case INTEGER_CST:
- case REAL_CST:
- case VECTOR_CST:
- case STRING_CST:
- case COMPLEX_CST:
- case CONSTRUCTOR:
- return t;
-
case CONST_DECL:
return fold (DECL_INITIAL (t));