]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenMP/Fortran: Add support for firstprivate and allocate clauses on scope construct
authorTobias Burnus <tobias@codesourcery.com>
Tue, 5 Jul 2022 08:03:25 +0000 (10:03 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 5 Jul 2022 08:03:25 +0000 (10:03 +0200)
commitfc8e0d126aca313606bf1646a4ead1454909c230
tree3d4cbe93df84826a8ddbfc1a18c83b88b44ed3da
parent0ca11d9d7fb02f96809eb79c5f9128a6701a6ff4
OpenMP/Fortran: Add support for firstprivate and allocate clauses on scope construct

Fortran commit to C/C++/backend commit
r13-862-gf38b20d68fade5a922b9f68c4c3841e653d1b83c

gcc/fortran/ChangeLog:

* openmp.cc (OMP_SCOPE_CLAUSES): Add firstprivate and allocate.

libgomp/ChangeLog:

* libgomp.texi (OpenMP 5.2): Mark scope w/ firstprivate/allocate as Y.
* testsuite/libgomp.fortran/scope-2.f90: New test.

gcc/testsuite/ChangeLog:

* gfortran.dg/gomp/scope-5.f90: New test.
* gfortran.dg/gomp/scope-6.f90: New test.

(cherry picked from commit ff35a75473d28205e52ecbcf9e6b5107b8b5ab90)
gcc/fortran/ChangeLog.omp
gcc/fortran/openmp.cc
gcc/testsuite/ChangeLog.omp
gcc/testsuite/gfortran.dg/gomp/scope-5.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/gomp/scope-6.f90 [new file with mode: 0644]
libgomp/ChangeLog.omp
libgomp/libgomp.texi
libgomp/testsuite/libgomp.fortran/scope-2.f90 [new file with mode: 0644]