From 224682ffa19a6817e4d0bde59200169c3413b532 Mon Sep 17 00:00:00 2001 From: Kewen Lin Date: Thu, 2 Jul 2020 00:55:53 -0500 Subject: [PATCH] testsuite: Ignore line no. for BB vectorization message The case g++.dg/vect/slp-pr56812.cc need to be fixed a bit with line number neglection since the message for basic block vectorization looks like: slp-pr56812.cc:19:1: optimized: basic block part vectorized using 16 byte vectors while for loop vectorization, it looks like: slp-pr56812.cc:17:18: optimized: loop vectorized using 16 byte vectors gcc/testsuite/ChangeLog: * g++.dg/vect/slp-pr56812.cc: Ignore line number for basic block vectorization messages. --- gcc/testsuite/g++.dg/vect/slp-pr56812.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/vect/slp-pr56812.cc b/gcc/testsuite/g++.dg/vect/slp-pr56812.cc index 3e7a495aadd..37c47acd191 100644 --- a/gcc/testsuite/g++.dg/vect/slp-pr56812.cc +++ b/gcc/testsuite/g++.dg/vect/slp-pr56812.cc @@ -14,6 +14,6 @@ public: void mydata::Set (float x) { /* We want to vectorize this either as loop or basic-block. */ - for (int i=0; i