This fixed the one remaining case where the stricter vec_splat checking
complains in the testsuite.

Committing.


2018-09-27  Segher Boessenkool  <seg...@kernel.crashing.org>

gcc/testsuite/
        * g++.dg/ext/altivec-6.C: Change the vec_splat second argument to a
        valid value, in the "vector bool int" case.

---
 gcc/testsuite/g++.dg/ext/altivec-6.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/ext/altivec-6.C 
b/gcc/testsuite/g++.dg/ext/altivec-6.C
index 4c863ef..d17fd90 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);  
 }
-- 
1.8.3.1

Reply via email to