mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-15 07:50:29 +08:00
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
This commit is contained in:
parent
e23a7a99f4
commit
0c44e080f5
@ -1,3 +1,8 @@
|
||||
2016-08-12 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c/7652
|
||||
* tree-complex.c (expand_complex_division): Add missing break.
|
||||
|
||||
2016-08-12 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* passes.c (execute_todo): Do not push/pop TV_TODO.
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user