testsuite/104759 - adjust gcc.dg/vect/vect-multitypes-12.c
authorRichard Biener <rguenther@suse.de>
Wed, 9 Mar 2022 13:37:35 +0000 (14:37 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 9 Mar 2022 13:37:35 +0000 (14:37 +0100)
This adjusts gcc.dg/vect/vect-multitypes-12.c to just look for the
interesting loop vectorization.

2022-03-09  Richard Biener  <rguenther@suse.de>

PR testsuite/104759
* gcc.dg/vect/vect-multitypes-12.c: Adjust.

gcc/testsuite/gcc.dg/vect/vect-multitypes-12.c

index b09caeb..4782d3f 100644 (file)
@@ -26,6 +26,7 @@ int main (void)
 
   for (i=0; i<N; i++) {
     x[i] = i;
+    __asm__ volatile ("" : : : "memory");
   }
 
   foo (N,z+2);
@@ -38,7 +39,4 @@ int main (void)
   return 0;
 }
 
-/* bleah */
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { target vect_unpack } } } */
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { ! vect_unpack } } } } */
-
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_unpack } } } */