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: r238858
This commit is contained in:
Marek Polacek 2016-07-29 11:26:46 +00:00 committed by Marek Polacek
parent 57f10c5471
commit 28710a875b
2 changed files with 11 additions and 0 deletions

View 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> 2016-07-27 Segher Boessenkool <segher@kernel.crashing.org>
PR target/71216 PR target/71216

View File

@ -13102,6 +13102,7 @@ altivec_expand_ld_builtin (tree exp, rtx target, bool *expandedp)
break; break;
case ALTIVEC_BUILTIN_LD_INTERNAL_2di: case ALTIVEC_BUILTIN_LD_INTERNAL_2di:
icode = CODE_FOR_vector_altivec_load_v2di; icode = CODE_FOR_vector_altivec_load_v2di;
break;
case ALTIVEC_BUILTIN_LD_INTERNAL_1ti: case ALTIVEC_BUILTIN_LD_INTERNAL_1ti:
icode = CODE_FOR_vector_altivec_load_v1ti; icode = CODE_FOR_vector_altivec_load_v1ti;
break; break;
@ -13163,6 +13164,7 @@ altivec_expand_st_builtin (tree exp, rtx target ATTRIBUTE_UNUSED,
break; break;
case ALTIVEC_BUILTIN_ST_INTERNAL_2di: case ALTIVEC_BUILTIN_ST_INTERNAL_2di:
icode = CODE_FOR_vector_altivec_store_v2di; icode = CODE_FOR_vector_altivec_store_v2di;
break;
case ALTIVEC_BUILTIN_ST_INTERNAL_1ti: case ALTIVEC_BUILTIN_ST_INTERNAL_1ti:
icode = CODE_FOR_vector_altivec_store_v1ti; icode = CODE_FOR_vector_altivec_store_v1ti;
break; break;