revert: gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from INTEGER_CSTs.

Revert:
	2008-10-21  Jakub Jelinek  <jakub@redhat.com>
	* gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from
	INTEGER_CSTs.

From-SVN: r141802
This commit is contained in:
Jakub Jelinek 2008-11-12 21:56:41 +01:00 committed by Jakub Jelinek
parent 4bf95cef95
commit cfcd6a9830
2 changed files with 7 additions and 10 deletions

View File

@ -1,3 +1,10 @@
2008-11-12 Jakub Jelinek <jakub@redhat.com>
Revert:
2008-10-21 Jakub Jelinek <jakub@redhat.com>
* gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from
INTEGER_CSTs.
2008-11-12 Jason Merrill <jason@redhat.com>
PR c++/38007

View File

@ -6441,16 +6441,6 @@ gimplify_expr (tree *expr_p, gimple_seq *pre_p, gimple_seq *post_p,
/* Constants need not be gimplified. */
case INTEGER_CST:
/* Don't preserve TREE_OVERFLOW flags, it only inhibits
many optimizations and FEs should have taken care of
reporting all the required diagnostics. */
if (TREE_OVERFLOW (*expr_p))
*expr_p = build_int_cst_wide (TREE_TYPE (*expr_p),
TREE_INT_CST_LOW (*expr_p),
TREE_INT_CST_HIGH (*expr_p));
ret = GS_ALL_DONE;
break;
case REAL_CST:
case FIXED_CST:
case STRING_CST: