From: Kazu Hirata Date: Wed, 9 Mar 2005 07:09:48 +0000 (+0000) Subject: * fold-const.c (int_const_binop): Remove no_overflow. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5758c0f1f787429fc7537424cd08ba65b2593491;p=gcc.git * fold-const.c (int_const_binop): Remove no_overflow. From-SVN: r96165 --- 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: