Commit 73b91357 by Kazu Hirata Committed by Kazu Hirata

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
parent bb3a37ac
2004-03-23 Kazu Hirata <kazu@cs.umass.edu> 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 PR optimization/14669
* fold-const.c (fold): Only unwiden integer comparisons for equality * fold-const.c (fold): Only unwiden integer comparisons for equality
and inequality operators, or when the signedness doesn't change. and inequality operators, or when the signedness doesn't change.
......
...@@ -5609,14 +5609,6 @@ fold (tree expr) ...@@ -5609,14 +5609,6 @@ fold (tree expr)
switch (code) switch (code)
{ {
case INTEGER_CST:
case REAL_CST:
case VECTOR_CST:
case STRING_CST:
case COMPLEX_CST:
case CONSTRUCTOR:
return t;
case CONST_DECL: case CONST_DECL:
return fold (DECL_INITIAL (t)); return fold (DECL_INITIAL (t));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment