From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1534) id 154C23889C0D; Wed, 18 Aug 2021 19:54:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 154C23889C0D MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Tobias Burnus To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-3009] Fortran: Add OpenMP's nothing directive support (con't) X-Act-Checkin: gcc X-Git-Author: Tobias Burnus X-Git-Refname: refs/heads/master X-Git-Oldrev: 08defd9c4e4f8dc428f2f490705ab816af81a03d X-Git-Newrev: f0fca213bc52644ba896da622b35842a6157bd98 Message-Id: <20210818195424.154C23889C0D@sourceware.org> Date: Wed, 18 Aug 2021 19:54:24 +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: Wed, 18 Aug 2021 19:54:24 -0000 https://gcc.gnu.org/g:f0fca213bc52644ba896da622b35842a6157bd98 commit r12-3009-gf0fca213bc52644ba896da622b35842a6157bd98 Author: Tobias Burnus Date: Wed Aug 18 21:47:04 2021 +0200 Fortran: Add OpenMP's nothing directive support (con't) Fix directory to enable -fopenmp processing. gcc/testsuite/ PR testsuite/101963 * gfortran.dg/nothing-1.f90: Moved to ... * gfortran.dg/gomp/nothing-1.f90: ... here. * gfortran.dg/nothing-2.f90: Moved to ... * gfortran.dg/gomp/nothing-2.f90: ... here; avoid $ issue in $OMP in dg-error. Diff: --- gcc/testsuite/gfortran.dg/{ => gomp}/nothing-1.f90 | 0 gcc/testsuite/gfortran.dg/{ => gomp}/nothing-2.f90 | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gfortran.dg/nothing-1.f90 b/gcc/testsuite/gfortran.dg/gomp/nothing-1.f90 similarity index 100% rename from gcc/testsuite/gfortran.dg/nothing-1.f90 rename to gcc/testsuite/gfortran.dg/gomp/nothing-1.f90 diff --git a/gcc/testsuite/gfortran.dg/nothing-2.f90 b/gcc/testsuite/gfortran.dg/gomp/nothing-2.f90 similarity index 75% rename from gcc/testsuite/gfortran.dg/nothing-2.f90 rename to gcc/testsuite/gfortran.dg/gomp/nothing-2.f90 index 74a4a5a22b0..554d4ef99ca 100644 --- a/gcc/testsuite/gfortran.dg/nothing-2.f90 +++ b/gcc/testsuite/gfortran.dg/gomp/nothing-2.f90 @@ -3,5 +3,5 @@ pure subroutine foo end subroutine subroutine bar - !$omp nothing foo ! { dg-error "Unexpected junk after $OMP NOTHING statement" } + !$omp nothing foo ! { dg-error "Unexpected junk after .OMP NOTHING statement" } end