]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
revert: gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from INTEGER_CSTs.
authorJakub Jelinek <jakub@redhat.com>
Wed, 12 Nov 2008 20:56:41 +0000 (21:56 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 12 Nov 2008 20:56:41 +0000 (21:56 +0100)
Revert:
2008-10-21  Jakub Jelinek  <jakub@redhat.com>
* gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from
INTEGER_CSTs.

From-SVN: r141802

gcc/ChangeLog
gcc/gimplify.c

index e0c09c482217393d233dad22cc2a7545f217a795..4a61caa3e3273a23b25c61b7d377ead4853701e1 100644 (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
index bec42575b96a7c962a16219e8eaf8dc66ed99c9d..ecc340ab23d40ebb740e18d506cb6255a8150234 100644 (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: