There's not really a good way to test what the testcase wants to test, the following exchanges one dump scan for another (imperfect) one.
Pushed. * gcc.dg/vect/vect-gather-4.c: Scan for not vectorizing using SLP. --- gcc/testsuite/gcc.dg/vect/vect-gather-4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/vect-gather-4.c b/gcc/testsuite/gcc.dg/vect/vect-gather-4.c index 1ce63e69199..d18094d6982 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-gather-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-gather-4.c @@ -45,4 +45,4 @@ f3 (int *restrict y, int *restrict x, int *restrict indices) } } -/* { dg-final { scan-tree-dump-not "Loop contains only SLP stmts" vect } } */ +/* { dg-final { scan-tree-dump-not "vectorizing stmts using SLP" vect } } */ -- 2.35.3