]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix test failing on sparc
authorAndi Kleen <ak@gcc.gnu.org>
Tue, 27 Aug 2024 23:45:26 +0000 (16:45 -0700)
committerAndi Kleen <ak@gcc.gnu.org>
Tue, 27 Aug 2024 23:45:26 +0000 (16:45 -0700)
SPARC does not support vectorizing conditions, which this test relies
on. Use vect_condition as effective target.

Committed as obvious.

PR testsuite/116500

gcc/testsuite/ChangeLog:

* gcc.dg/vect/vect-switch-ifcvt-1.c: Use vect_condition to
check if vectorizing conditions is supported for target.

gcc/testsuite/gcc.dg/vect/vect-switch-ifcvt-1.c

index f5352ef8ed7add2c84ba1a4f85e5e6201ba90db2..2e3a9ae3c24919ef3e0ba9008f35178cc221de00 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-require-effective-target vect_int } */
+/* { dg-require-effective-target vect_condition } */
 #include "tree-vect.h"
 
 extern void abort (void);