From 903adc062f28b8d7f5ed77ee104b51bf36448a28 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 17 Nov 2020 11:12:49 +0000 Subject: [PATCH] testsuite: Extend vector() regexp MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit For variable-length vectors, the N inside “vector(N) T” can contain the characters ‘[’, ‘]’ and ‘,’. gcc/testsuite/ * gcc.dg/vect/pr91750.c: Allow "[]," inside a vector(...) lane count. --- gcc/testsuite/gcc.dg/vect/pr91750.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/pr91750.c b/gcc/testsuite/gcc.dg/vect/pr91750.c index fe914b2..3586f11 100644 --- a/gcc/testsuite/gcc.dg/vect/pr91750.c +++ b/gcc/testsuite/gcc.dg/vect/pr91750.c @@ -11,5 +11,5 @@ foo (int n) } /* Make sure the induction IV uses an unsigned increment. */ -/* { dg-final { scan-tree-dump "vector\\\(\[0-9\]*\\\) unsigned int" "vect" } } */ +/* { dg-final { scan-tree-dump {vector\([][0-9,]*\) unsigned int} "vect" } } */ /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } } */ -- 2.7.4