summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2021-08-18 21:47:04 +0200
committerTobias Burnus <tobias@codesourcery.com>2021-08-18 21:54:01 +0200
commitf0fca213bc52644ba896da622b35842a6157bd98 (patch)
treefb88f02d0f8078b4366f93f3d36eac923e9dbe29
parent08defd9c4e4f8dc428f2f490705ab816af81a03d (diff)
downloadgcc-f0fca213bc52644ba896da622b35842a6157bd98.tar.gz
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.
-rw-r--r--gcc/testsuite/gfortran.dg/gomp/nothing-1.f90 (renamed from gcc/testsuite/gfortran.dg/nothing-1.f90)0
-rw-r--r--gcc/testsuite/gfortran.dg/gomp/nothing-2.f90 (renamed from gcc/testsuite/gfortran.dg/nothing-2.f90)2
2 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/nothing-1.f90 b/gcc/testsuite/gfortran.dg/gomp/nothing-1.f90
index 9fc24d4bd6c..9fc24d4bd6c 100644
--- a/gcc/testsuite/gfortran.dg/nothing-1.f90
+++ b/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
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