For variable-length vectors, the N inside “vector(N) T” can contain the characters ‘[’, ‘]’ and ‘,’.
Tested on aarch64-linux-gnu (with and without SVE), arm-linux-gnueabihf and x86_64-linux-gnu. Pushed as obvious. Richard 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 fe914b2d939..3586f1168ae 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.17.1