re PR c/7652 (-Wswitch-break : Warn if a switch case falls through)

PR c/7652
	* config/i386/i386.c (ix86_expand_args_builtin): Add break.
	(ix86_expand_round_builtin): Likewise.

From-SVN: r238864
This commit is contained in:
Marek Polacek 2016-07-29 12:39:25 +00:00 committed by Marek Polacek
parent cc80b225c5
commit c63b1732d5
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2016-07-29 Marek Polacek <polacek@redhat.com>
PR c/7652
* config/i386/i386.c (ix86_expand_args_builtin): Add break.
(ix86_expand_round_builtin): Likewise.
2016-07-29 Segher Boessenkool <segher@kernel.crashing.org>
Georg-Johann Lay <avr@gjlay.de>
@ -8,7 +14,7 @@
2016-07-29 Marek Polacek <polacek@redhat.com>
PR c/7652
* config/rs6000/rs6000.c (altivec_expand_ld_builtin): Likewise.
* config/rs6000/rs6000.c (altivec_expand_ld_builtin): Add break.
(altivec_expand_st_builtin): Likewise.
2016-07-29 Georg-Johann Lay <avr@gjlay.de>

View File

@ -40172,6 +40172,7 @@ ix86_expand_args_builtin (const struct builtin_description *d,
case 5:
pat = GEN_FCN (icode) (real_target, args[0].op, args[1].op,
args[2].op, args[3].op, args[4].op);
break;
case 6:
pat = GEN_FCN (icode) (real_target, args[0].op, args[1].op,
args[2].op, args[3].op, args[4].op,
@ -40546,6 +40547,7 @@ ix86_expand_round_builtin (const struct builtin_description *d,
case 5:
pat = GEN_FCN (icode) (target, args[0].op, args[1].op,
args[2].op, args[3].op, args[4].op);
break;
case 6:
pat = GEN_FCN (icode) (target, args[0].op, args[1].op,
args[2].op, args[3].op, args[4].op,