diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2005-11-29 22:18:04 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2005-11-29 14:18:04 -0800 |
commit | 8bce9e986f8ef941b4d34b6579261fd5df9722c6 (patch) | |
tree | 195d108fecbcb81619f1ecf182565346dd13a05e /gcc/fold-const.c | |
parent | 9b4ca617e84633b9128713b2450b94c0e13d6d87 (diff) | |
download | gcc-8bce9e986f8ef941b4d34b6579261fd5df9722c6.zip gcc-8bce9e986f8ef941b4d34b6579261fd5df9722c6.tar.gz gcc-8bce9e986f8ef941b4d34b6579261fd5df9722c6.tar.bz2 |
fold-const.c (negate_expr): Add break after the if.
2005-11-29 Andrew Pinski <pinskia@physics.uc.edu>
* fold-const.c (negate_expr) <case BIT_NOT_EXPR>: Add break after
the if.
From-SVN: r107682
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 2718af1..c818011 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -1059,6 +1059,7 @@ negate_expr (tree t) if (INTEGRAL_TYPE_P (type)) return fold_build2 (PLUS_EXPR, type, TREE_OPERAND (t, 0), build_int_cst (type, 1)); + break; case INTEGER_CST: tem = fold_negate_const (t, type); |