aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c1
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);