aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-03-15 16:50:25 +0100
committerJakub Jelinek <jakub@redhat.com>2024-03-15 16:50:25 +0100
commitffd47fb63ddc024db847daa07f8ae27fffdfcb28 (patch)
tree092df4158307e7ae3c80a6fbb200e0b945c69c28
parentb5e1f0696110fbf5c73426ede70562edc6f54481 (diff)
downloadgcc-ffd47fb63ddc024db847daa07f8ae27fffdfcb28.zip
gcc-ffd47fb63ddc024db847daa07f8ae27fffdfcb28.tar.gz
gcc-ffd47fb63ddc024db847daa07f8ae27fffdfcb28.tar.bz2
testsuite: Fix pr113431.c FAIL on sparc* [PR113431]
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.
-rw-r--r--gcc/testsuite/gcc.dg/vect/pr113431.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/pr113431.c b/gcc/testsuite/gcc.dg/vect/pr113431.c
index 04448d9..2858a76 100644
--- a/gcc/testsuite/gcc.dg/vect/pr113431.c
+++ b/gcc/testsuite/gcc.dg/vect/pr113431.c
@@ -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 } } } } */