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

From-SVN: r238856

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

index 3deeccc586bf7847964e58b17fbcce6d89bb7185..04cf940e7c47eed684313fa18ef84f2954cd150c 100644 (file)
@@ -1,3 +1,9 @@
+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-29  Georg-Johann Lay  <avr@gjlay.de>
 
        * config/avr/avr.md (addqi3) [cc]: Revert glitch in insn attribute
index e9447f7a8b9b1831909ad10aa2eb73b262e55d80..46b46d74986ca4633e9284eb2bf3e17ec935365e 100644 (file)
@@ -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;