From 5758c0f1f787429fc7537424cd08ba65b2593491 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 9 Mar 2005 07:09:48 +0000 Subject: [PATCH] * fold-const.c (int_const_binop): Remove no_overflow. From-SVN: r96165 --- gcc/ChangeLog | 2 ++ gcc/fold-const.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 636cd6ff089..e935bee8df5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * tree-cfg.c (cleanup_control_flow): If removal of a computed diff --git a/gcc/fold-const.c b/gcc/fold-const.c index be21160303f..1954d061bdd 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: -- 2.30.2