From: Kewen Lin Date: Thu, 2 Jul 2020 05:55:53 +0000 (-0500) Subject: testsuite: Ignore line no. for BB vectorization message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=224682ffa19a6817e4d0bde59200169c3413b532;p=gcc.git 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. --- 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