]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fortran: Add OpenMP's nothing directive support (con't)
authorTobias Burnus <tobias@codesourcery.com>
Thu, 19 Aug 2021 10:02:17 +0000 (12:02 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Thu, 19 Aug 2021 10:02:17 +0000 (12:02 +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.

(cherry picked from commit f0fca213bc52644ba896da622b35842a6157bd98)

gcc/testsuite/ChangeLog.omp
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]

index 1a3c8e65783f42a061ca9aec246033d2fac93a5b..888162ba07781f0101e8e179000a1c84d59730fa 100644 (file)
@@ -1,3 +1,15 @@
+2021-08-19  Tobias Burnus  <tobias@codesourcery.com>
+
+       Backported from master:
+       2021-08-18  Tobias Burnus  <tobias@codesourcery.com>
+
+       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.
+
 2021-08-18  Tobias Burnus  <tobias@codesourcery.com>
 
        Backported from master:
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