From 3b938c64f775eafd977f79c4f3038082ae7e0127 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 11 Mar 2021 14:25:16 +0100 Subject: [PATCH] testsuite/98245 - adjust dump scanning of gcc.dg/vect/bb-slp-46.c Checking the number of pluses is unreliable since the vector size isn't known. Instead see that the unwanted scalar compute is not there. 2021-03-11 Richard Biener PR testsuite/98245 * gcc.dg/vect/bb-slp-46.c: Scan for the scalar compute instead of verifying the total number of adds. --- gcc/testsuite/gcc.dg/vect/bb-slp-46.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-46.c b/gcc/testsuite/gcc.dg/vect/bb-slp-46.c index 8daa5c1cfce..98b29062a19 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-46.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-46.c @@ -24,5 +24,5 @@ int foo () /* { dg-final { scan-tree-dump "optimized: basic block" "slp2" } } */ /* { dg-final { scan-tree-dump "extracting lane for live stmt" "slp2" } } */ /* { dg-final { scan-tree-dump-times "extracting lane for live stmt" 2 "slp2" { xfail *-*-* } } } */ -/* { dg-final { scan-tree-dump-times " \\+ " 3 "optimized" } } */ -/* { dg-final { scan-tree-dump-times " \\+ " 2 "optimized" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump-not "tem3_\[0-9\]\+ = " "optimized" } } */ +/* { dg-final { scan-tree-dump-not "tem0_\[0-9\]\+ = " "optimized" { xfail *-*-* } } } */