We are not considering ia32 to be TARGET_MMX_WITH_SSE so the testcase
cannot work there.
Tested on x86_64-unknown-linux-gnu, pushed.
PR target/120091
gcc/testsuite/
* gcc.target/i386/pr119919.c: Only check for vectorization
when !ia32.
---
gcc/testsuite/gcc.target/i386/pr119919.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/i386/pr119919.c
b/gcc/testsuite/gcc.target/i386/pr119919.c
index e39819f682d..bf11f917192 100644
--- a/gcc/testsuite/gcc.target/i386/pr119919.c
+++ b/gcc/testsuite/gcc.target/i386/pr119919.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -msse2 -fdump-tree-vect-details -mtune=znver1" } */
+
int a[9*9];
bool b[9];
void test()
@@ -10,4 +11,4 @@ void test()
}
}
-/* { dg-final { scan-tree-dump "loop vectorized using 8 byte vectors" "vect" }
} */
+/* { dg-final { scan-tree-dump "loop vectorized using 8 byte vectors" "vect" {
target { ! ia32 } } } } */
--
2.43.0