* fold-const.c (int_const_binop): Remove no_overflow.
authorKazu Hirata <kazu@cs.umass.edu>
Wed, 9 Mar 2005 07:09:48 +0000 (07:09 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 9 Mar 2005 07:09:48 +0000 (07:09 +0000)
From-SVN: r96165

gcc/ChangeLog
gcc/fold-const.c

index 636cd6ff08914cbf39663c8701e9027a1712843b..e935bee8df50deba4dc2d3c43254a8a3f2c1a3fb 100644 (file)
@@ -6,6 +6,8 @@
 
        * expr.c (expand_assignment): Remove orig_to_rtx.
 
+       * fold-const.c (int_const_binop): Remove no_overflow.
+
 2005-03-08  Jeff Law  <law@redhat.com>
 
        * tree-cfg.c (cleanup_control_flow): If removal of a computed
index be21160303f62d9fac588be3f60ff518179d6230..1954d061bdd1409a813f980ad965e615aba50a54 100644 (file)
@@ -1303,7 +1303,6 @@ int_const_binop (enum tree_code code, tree arg1, tree arg2, int notrunc)
   int is_sizetype
     = (TREE_CODE (type) == INTEGER_TYPE && TYPE_IS_SIZETYPE (type));
   int overflow = 0;
-  int no_overflow = 0;
 
   int1l = TREE_INT_CST_LOW (arg1);
   int1h = TREE_INT_CST_HIGH (arg1);
@@ -1332,7 +1331,6 @@ int_const_binop (enum tree_code code, tree arg1, tree arg2, int notrunc)
         interpretation ruling is needed.  */
       lshift_double (int1l, int1h, int2l, TYPE_PRECISION (type),
                     &low, &hi, !uns);
-      no_overflow = 1;
       break;
 
     case RROTATE_EXPR: