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
This commit is contained in:
Marek Polacek 2016-07-29 11:16:20 +00:00 committed by Marek Polacek
parent 13ec6e5e06
commit bb3aa3f830
2 changed files with 8 additions and 0 deletions

View 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

View 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;