]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c/7652 (-Wswitch-break : Warn if a switch case falls through)
authorMarek Polacek <polacek@redhat.com>
Fri, 29 Jul 2016 11:26:46 +0000 (11:26 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 29 Jul 2016 11:26:46 +0000 (11:26 +0000)
PR c/7652
* config/rs6000/rs6000.c (altivec_expand_ld_builtin): Likewise.
(altivec_expand_st_builtin): Likewise.

From-SVN: r238858

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index f4db4290785e7e3de9d08b712b9e33efcfc4c282..ce7dfb48166490c63851d21131c165bf7ba6c500 100644 (file)
@@ -1,3 +1,12 @@
+2016-07-29  Marek Polacek  <polacek@redhat.com>
+
+       Backport from mainline
+       2016-07-29  Marek Polacek  <polacek@redhat.com>
+
+       PR c/7652
+       * config/rs6000/rs6000.c (altivec_expand_ld_builtin): Likewise.
+       (altivec_expand_st_builtin): Likewise.
+
 2016-07-27  Segher Boessenkool  <segher@kernel.crashing.org>
 
        PR target/71216
index 2f30413ca6ec895180437dfb4ede3b6378cecf8d..8900b4ce20d08c45e541d6e4293f43a26cc77e95 100644 (file)
@@ -13102,6 +13102,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;
@@ -13163,6 +13164,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;