diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-11-12 21:56:41 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-11-12 21:56:41 +0100 |
commit | cfcd6a98305c94040ba15e695a6613d9980e8477 (patch) | |
tree | d4096ad39b4434f84473802c1d486d9bbdfdf7dc | |
parent | 4bf95cef95a966c0ed8325cf8a572c98a3cc0e90 (diff) | |
download | gcc-cfcd6a98305c94040ba15e695a6613d9980e8477.zip gcc-cfcd6a98305c94040ba15e695a6613d9980e8477.tar.gz gcc-cfcd6a98305c94040ba15e695a6613d9980e8477.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/gimplify.c | 10 |
2 files changed, 7 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e0c09c4..4a61caa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/gimplify.c b/gcc/gimplify.c index bec4257..ecc340a 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: |