Commit 8df67f4f by Jakub Jelinek Committed by Jakub Jelinek

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

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

From-SVN: r141251
parent 15d5fe33
2008-10-21 Jakub Jelinek <jakub@redhat.com>
* gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from
INTEGER_CSTs.
2008-10-20 Daniel Berlin <dberlin@dberlin.org> 2008-10-20 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-pre.c (insert_into_preds_of_block): Don't rewrite constant * tree-ssa-pre.c (insert_into_preds_of_block): Don't rewrite constant
......
...@@ -6441,6 +6441,16 @@ gimplify_expr (tree *expr_p, gimple_seq *pre_p, gimple_seq *post_p, ...@@ -6441,6 +6441,16 @@ gimplify_expr (tree *expr_p, gimple_seq *pre_p, gimple_seq *post_p,
/* Constants need not be gimplified. */ /* Constants need not be gimplified. */
case INTEGER_CST: 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 REAL_CST:
case FIXED_CST: case FIXED_CST:
case STRING_CST: case STRING_CST:
......
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