Commit c63b1732 by Marek Polacek Committed by Marek Polacek

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
parent cc80b225
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> 2016-07-29 Segher Boessenkool <segher@kernel.crashing.org>
Georg-Johann Lay <avr@gjlay.de> Georg-Johann Lay <avr@gjlay.de>
...@@ -8,7 +14,7 @@ ...@@ -8,7 +14,7 @@
2016-07-29 Marek Polacek <polacek@redhat.com> 2016-07-29 Marek Polacek <polacek@redhat.com>
PR c/7652 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. (altivec_expand_st_builtin): Likewise.
2016-07-29 Georg-Johann Lay <avr@gjlay.de> 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
......
...@@ -40172,6 +40172,7 @@ ix86_expand_args_builtin (const struct builtin_description *d, ...@@ -40172,6 +40172,7 @@ ix86_expand_args_builtin (const struct builtin_description *d,
case 5: case 5:
pat = GEN_FCN (icode) (real_target, args[0].op, args[1].op, pat = GEN_FCN (icode) (real_target, args[0].op, args[1].op,
args[2].op, args[3].op, args[4].op); args[2].op, args[3].op, args[4].op);
break;
case 6: case 6:
pat = GEN_FCN (icode) (real_target, args[0].op, args[1].op, pat = GEN_FCN (icode) (real_target, args[0].op, args[1].op,
args[2].op, args[3].op, args[4].op, args[2].op, args[3].op, args[4].op,
...@@ -40546,6 +40547,7 @@ ix86_expand_round_builtin (const struct builtin_description *d, ...@@ -40546,6 +40547,7 @@ ix86_expand_round_builtin (const struct builtin_description *d,
case 5: case 5:
pat = GEN_FCN (icode) (target, args[0].op, args[1].op, pat = GEN_FCN (icode) (target, args[0].op, args[1].op,
args[2].op, args[3].op, args[4].op); args[2].op, args[3].op, args[4].op);
break;
case 6: case 6:
pat = GEN_FCN (icode) (target, args[0].op, args[1].op, pat = GEN_FCN (icode) (target, args[0].op, args[1].op,
args[2].op, args[3].op, args[4].op, args[2].op, args[3].op, args[4].op,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment