aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-09 07:09:48 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-09 07:09:48 +0000
commit5758c0f1f787429fc7537424cd08ba65b2593491 (patch)
treebf3617f4fee363e170f973df4e56e3d159a2149d /gcc/fold-const.c
parentb258008ada210e86bb07cf7c90de0989425b9742 (diff)
downloadgcc-5758c0f1f787429fc7537424cd08ba65b2593491.zip
gcc-5758c0f1f787429fc7537424cd08ba65b2593491.tar.gz
gcc-5758c0f1f787429fc7537424cd08ba65b2593491.tar.bz2
* fold-const.c (int_const_binop): Remove no_overflow.
From-SVN: r96165
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index be21160..1954d06 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -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: