From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1853) id B3B0C3857C5F; Thu, 20 May 2021 18:26:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B3B0C3857C5F MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Bernd Edlinger To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-947] Fix a test failure in g++.dg/modules/omp-1_c.C X-Act-Checkin: gcc X-Git-Author: Bernd Edlinger X-Git-Refname: refs/heads/master X-Git-Oldrev: d5cbe0f0d4b7bc11f80b2236521f90ec94e95767 X-Git-Newrev: 4f4a2f199baf46d35492edadc16f30f32920c4df Message-Id: <20210520182640.B3B0C3857C5F@sourceware.org> Date: Thu, 20 May 2021 18:26:40 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2021 18:26:40 -0000 https://gcc.gnu.org/g:4f4a2f199baf46d35492edadc16f30f32920c4df commit r12-947-g4f4a2f199baf46d35492edadc16f30f32920c4df Author: Bernd Edlinger Date: Thu May 20 20:19:43 2021 +0200 Fix a test failure in g++.dg/modules/omp-1_c.C Adjust the line number due to previous commit, which added a line for dg-require-effective-target. 2021-05-20 Bernd Edlinger * g++.dg/modules/omp-1_c.C: Fix testcase. Diff: --- gcc/testsuite/g++.dg/modules/omp-1_c.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/modules/omp-1_c.C b/gcc/testsuite/g++.dg/modules/omp-1_c.C index 599a5a5d34f..71a24f6c8ef 100644 --- a/gcc/testsuite/g++.dg/modules/omp-1_c.C +++ b/gcc/testsuite/g++.dg/modules/omp-1_c.C @@ -3,7 +3,7 @@ import foo; -// { dg-regexp "In module imported at \[^\n]*omp-1_c.C:3:1:\nfoo: error: module contains OpenMP, use '-fopenmp' to enable\n" } +// { dg-regexp "In module imported at \[^\n]*omp-1_c.C:4:1:\nfoo: error: module contains OpenMP, use '-fopenmp' to enable\n" } // { dg-prune-output "failed to read" } // { dg-prune-output "fatal error:" } // { dg-prune-output "compilation terminated" }