From: Segher Boessenkool Date: Thu, 27 Sep 2018 22:56:37 +0000 (+0200) Subject: rs6000: Fix one more vec_splat case X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c057b53a37fbe94ce11d006c6445bed80987b66b;p=gcc.git rs6000: Fix one more vec_splat case This fixes the one remaining case where the stricter vec_splat checking complains in the testsuite. * g++.dg/ext/altivec-6.C: Change the vec_splat second argument to a valid value, in the "vector bool int" case. From-SVN: r264681 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7f46bc8d28e..8f6f72e3540 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-09-27 Segher Boessenkool + + * g++.dg/ext/altivec-6.C: Change the vec_splat second argument to a + valid value, in the "vector bool int" case. + 2018-09-27 Uros Bizjak * gcc.dg/rtl/x86_64/dfinit.c: Update scan-rtl-dump string. diff --git a/gcc/testsuite/g++.dg/ext/altivec-6.C b/gcc/testsuite/g++.dg/ext/altivec-6.C index 4c863ef0e76..d17fd90739a 100644 --- a/gcc/testsuite/g++.dg/ext/altivec-6.C +++ b/gcc/testsuite/g++.dg/ext/altivec-6.C @@ -26,5 +26,5 @@ void foo(void) { elements in the referenced vector. */ vbs = vec_splat(vbs, 4); vp = vec_splat(vp, 1); - vbi = vec_splat(vbi, 15); + vbi = vec_splat(vbi, 3); }