]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix pr113431.c FAIL on sparc* [PR113431]
authorJakub Jelinek <jakub@redhat.com>
Fri, 15 Mar 2024 15:50:25 +0000 (16:50 +0100)
committerJakub Jelinek <jakub@redhat.com>
Fri, 15 Mar 2024 15:50:25 +0000 (16:50 +0100)
As mentioned in the PR, the new testcase FAILs on sparc*-* due to
lack of support of misaligned store.

This patch restricts that to vect_hw_misalign targets.

2024-03-15  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/113431
* gcc.dg/vect/pr113431.c: Restrict scan-tree-dump-times to
vect_hw_misalign targets.

gcc/testsuite/gcc.dg/vect/pr113431.c

index 04448d9dd81d748088926012eb280f406ce2a56d..2858a769d73c96450b8f869eddc5f984195904a9 100644 (file)
@@ -15,4 +15,4 @@ int main()
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "optimized: basic block part vectorized" 2 "slp1" { target vect_int } } } */
+/* { dg-final { scan-tree-dump-times "optimized: basic block part vectorized" 2 "slp1" { target { vect_int && vect_hw_misalign } } } } */