aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2016-07-29 11:16:20 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2016-07-29 11:16:20 +0000
commitbb3aa3f830e10a2e73af21c9d67ebef56451d5d4 (patch)
tree1cf5409bfb697d3c5a1ce6711994a379c90f4ddd /gcc/config/rs6000
parent13ec6e5e068db7bf4dbead5196950fba83ae4161 (diff)
downloadgcc-bb3aa3f830e10a2e73af21c9d67ebef56451d5d4.zip
gcc-bb3aa3f830e10a2e73af21c9d67ebef56451d5d4.tar.gz
gcc-bb3aa3f830e10a2e73af21c9d67ebef56451d5d4.tar.bz2
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
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r--gcc/config/rs6000/rs6000.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index e9447f7..46b46d7 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;