summaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-12 20:56:41 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-12 20:56:41 +0000
commite1f6b35c714140ac87da6cd36da92cdce6fc208e (patch)
treed4096ad39b4434f84473802c1d486d9bbdfdf7dc /gcc/gimplify.c
parent3cc72d2604eea4a90ce5e33765769cef55b3c48c (diff)
downloadgcc-e1f6b35c714140ac87da6cd36da92cdce6fc208e.tar.gz
Revert:
2008-10-21 Jakub Jelinek <jakub@redhat.com> * gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from INTEGER_CSTs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141802 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index bec42575b96..ecc340ab23d 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -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: