]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fortran: Add OpenMP's nothing directive support (con't)
authorTobias Burnus <tobias@codesourcery.com>
Wed, 18 Aug 2021 19:47:04 +0000 (21:47 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 18 Aug 2021 19:54:01 +0000 (21:54 +0200)
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.

gcc/testsuite/gfortran.dg/gomp/nothing-1.f90 [moved from gcc/testsuite/gfortran.dg/nothing-1.f90 with 100% similarity]
gcc/testsuite/gfortran.dg/gomp/nothing-2.f90 [moved from gcc/testsuite/gfortran.dg/nothing-2.f90 with 75% similarity]

similarity index 75%
rename from gcc/testsuite/gfortran.dg/nothing-2.f90
rename to gcc/testsuite/gfortran.dg/gomp/nothing-2.f90
index 74a4a5a22b0f78b720e1b91b47d6ac4915b92945..554d4ef99ca3558adb456f0c41921644f47edc73 100644 (file)
@@ -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