From 73b91357c9db8ec53e6bfda5ffca0a56e05f30ae Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 23 Mar 2004 15:16:51 +0000 Subject: fold-const.c (fold): Remove cases for INTEGER_CST... * fold-const.c (fold): Remove cases for INTEGER_CST, REAL_CST, VECTOR_CST, STRING_CST, COMPLEX_CST, and CONSTRUCTOR. From-SVN: r79862 --- gcc/ChangeLog | 5 +++++ gcc/fold-const.c | 8 -------- 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5343f2c..af4fae5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-03-23 Kazu Hirata + * fold-const.c (fold): Remove cases for INTEGER_CST, REAL_CST, + VECTOR_CST, STRING_CST, COMPLEX_CST, and CONSTRUCTOR. + +2004-03-23 Kazu Hirata + PR optimization/14669 * fold-const.c (fold): Only unwiden integer comparisons for equality and inequality operators, or when the signedness doesn't change. diff --git a/gcc/fold-const.c b/gcc/fold-const.c index ab43be8..948a46c 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -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)); -- cgit v1.1