From bb3aa3f830e10a2e73af21c9d67ebef56451d5d4 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 29 Jul 2016 11:16:20 +0000 Subject: [PATCH] re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) PR c/7652 * config/rs6000/rs6000.c (altivec_expand_ld_builtin): Likewise. (altivec_expand_st_builtin): Likewise. From-SVN: r238856 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/rs6000.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3deeccc586b..04cf940e7c4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-07-29 Marek Polacek + + PR c/7652 + * config/rs6000/rs6000.c (altivec_expand_ld_builtin): Likewise. + (altivec_expand_st_builtin): Likewise. + 2016-07-29 Georg-Johann Lay * config/avr/avr.md (addqi3) [cc]: Revert glitch in insn attribute diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index e9447f7a8b9..46b46d74986 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -14537,6 +14537,7 @@ altivec_expand_ld_builtin (tree exp, rtx target, bool *expandedp) break; case ALTIVEC_BUILTIN_LD_INTERNAL_2di: icode = CODE_FOR_vector_altivec_load_v2di; + break; case ALTIVEC_BUILTIN_LD_INTERNAL_1ti: icode = CODE_FOR_vector_altivec_load_v1ti; break; @@ -14598,6 +14599,7 @@ altivec_expand_st_builtin (tree exp, rtx target ATTRIBUTE_UNUSED, break; case ALTIVEC_BUILTIN_ST_INTERNAL_2di: icode = CODE_FOR_vector_altivec_store_v2di; + break; case ALTIVEC_BUILTIN_ST_INTERNAL_1ti: icode = CODE_FOR_vector_altivec_store_v1ti; break; -- 2.30.2