[gcc(refs/users/aoliva/heads/testme)] testsuite: i386: vect-pr114375 vectorizes only with avx2 runtime
Alexandre Oliva
aoliva@gcc.gnu.org
Tue Feb 10 04:43:33 GMT 2026
https://gcc.gnu.org/g:4931fcc6ce36538526b7cc23c8f323816a15ae33
commit 4931fcc6ce36538526b7cc23c8f323816a15ae33
Author: Alexandre Oliva <oliva@adacore.com>
Date: Tue Feb 10 01:29:03 2026 -0300
testsuite: i386: vect-pr114375 vectorizes only with avx2 runtime
This test compiles with -mavx2 only if avx2_runtime passes, and
without that option, it is not expected to vectorize. Adjust the
effective target requirement for the dump pattern to match that of the
option.
for gcc/testsuite/ChangeLog
PR tree-optimization/114375
* gcc.dg/vect/vect-pr114375.c: Adjust dump pattern requirement
to match that of options.
Diff:
---
gcc/testsuite/gcc.dg/vect/vect-pr114375.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/vect/vect-pr114375.c b/gcc/testsuite/gcc.dg/vect/vect-pr114375.c
index 61e9bf152d73..e3373b9692d4 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-pr114375.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-pr114375.c
@@ -43,4 +43,4 @@ int main()
return 0;
}
-/* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target avx2 } } } */
+/* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target avx2_runtime } } } */
More information about the Gcc-cvs
mailing list