OSDN Git Service

* fold-const.c (fold): Remove cases for INTEGER_CST, REAL_CST,
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Mar 2004 15:16:51 +0000 (15:16 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Mar 2004 15:16:51 +0000 (15:16 +0000)
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

gcc/ChangeLog
gcc/fold-const.c

index 5343f2c..af4fae5 100644 (file)
@@ -1,5 +1,10 @@
 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.
index ab43be8..948a46c 100644 (file)
@@ -5609,14 +5609,6 @@ fold (tree expr)
 
   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));