]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: vect: Remove dg-final in gcc.dg/vect/bb-slp-32.c [PR96147]
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 22 Mar 2024 09:07:05 +0000 (10:07 +0100)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 22 Mar 2024 09:07:05 +0000 (10:07 +0100)
gcc.dg/vect/bb-slp-32.c currently XPASSes on 32 and 64-bit Solaris/SPARC:

XPASS: gcc.dg/vect/bb-slp-32.c -flto -ffat-lto-objects scan-tree-dump slp2
"vectorization is not profitable"
XPASS: gcc.dg/vect/bb-slp-32.c scan-tree-dump slp2 "vectorization is not
profitable"

Richard suggested to remove the dg-final, so this is what the patch does.

Tested on sparc-sun-solaris2.11 and i386-pc-solaris2.11.

2024-03-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

gcc/testsuite:
PR tree-optimization/96147
* gcc.dg/vect/bb-slp-32.c (dg-final): Remove.

gcc/testsuite/gcc.dg/vect/bb-slp-32.c

index 84cc4370f091e1f645c9e38fc489a3d35a40a03d..f10442e6d56855ed65146896ea7bfa26a3691ad3 100644 (file)
@@ -24,5 +24,3 @@ int foo (int *p, int a, int b)
   bar (x);
   return sum;
 }
-
-/* { dg-final { scan-tree-dump "vectorization is not profitable" "slp2" { xfail  { vect_no_align && { ! vect_hw_misalign } } } } } */