From c057b53a37fbe94ce11d006c6445bed80987b66b Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Fri, 28 Sep 2018 00:56:37 +0200 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/ext/altivec-6.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); } -- 2.30.2