summaryrefslogtreecommitdiff
path: root/gcc/tree-complex.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2016-08-12 10:15:57 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2016-08-12 10:15:57 +0000
commit0c44e080f57a7c9d334005c2ceac08139d1d276b (patch)
treea23feb65c567c19c86aef5a45d8a8565b3e29503 /gcc/tree-complex.c
parente23a7a99f4e4045bd184f718364f70b6fbec92e2 (diff)
downloadgcc-0c44e080f57a7c9d334005c2ceac08139d1d276b.tar.gz
re PR c/7652 (-Wswitch-break : Warn if a switch case falls through)
PR c/7652 * tree-complex.c (expand_complex_division): Add missing break. From-SVN: r239409
Diffstat (limited to 'gcc/tree-complex.c')
-rw-r--r--gcc/tree-complex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-complex.c b/gcc/tree-complex.c
index d7baf227c7d..7668520aaa4 100644
--- a/gcc/tree-complex.c
+++ b/gcc/tree-complex.c
@@ -1336,6 +1336,7 @@ expand_complex_division (gimple_stmt_iterator *gsi, tree inner_type,
rr = gimplify_build2 (gsi, code, inner_type, ai, bi);
ri = gimplify_build2 (gsi, code, inner_type, ar, bi);
ri = gimplify_build1 (gsi, NEGATE_EXPR, inner_type, ri);
+ break;
case PAIR (ONLY_REAL, VARYING):
case PAIR (ONLY_IMAG, VARYING):