Fixup recent gcc.dg/vect/bb-slp-pattern-2.c change

Message ID 3r2r7412-o78q-r0rq-s496-76292snsr7s1@fhfr.qr
State New
Headers
Series Fixup recent gcc.dg/vect/bb-slp-pattern-2.c change |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_simplebootstrap_build--master-arm-bootstrap fail Patch failed to apply
linaro-tcwg-bot/tcwg_simplebootstrap_build--master-aarch64-bootstrap fail Patch failed to apply

Commit Message

Richard Biener Sept. 2, 2026, 9:14 a.m. UTC
  I exchanged a target constaint for an xfail, attempting to xfail
only where it previously was constrainted to pass.  That doesn't
work, so instead combine both.

Tested on x86_64-unknown-linux-gnu, pushed.

	* gcc.dg/vect/bb-slp-pattern-2.c: Both guard with target
	and xfail.
---
 gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c
index 5f5009b0427..2f0d28d5ec9 100644
--- a/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c
+++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c
@@ -50,4 +50,4 @@  int main ()
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp1" { xfail { vect_element_align && vect_pack_trunc } } } } */
+/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp1" { target { vect_element_align && vect_pack_trunc } xfail { vect_element_align && vect_pack_trunc } } } } */