From: Marek Polacek Date: Fri, 29 Jul 2016 12:39:25 +0000 (+0000) Subject: re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c63b1732d520e5f047eeada4d4376932ce333d8d;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a1822d93c8f..37c5c8e1cef 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-07-29 Marek Polacek + + PR c/7652 + * config/i386/i386.c (ix86_expand_args_builtin): Add break. + (ix86_expand_round_builtin): Likewise. + 2016-07-29 Segher Boessenkool Georg-Johann Lay @@ -8,7 +14,7 @@ 2016-07-29 Marek Polacek 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 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 246c6b5164d..7c8bb17ff7c 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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,