OpenMP/Fortran: Add support for firstprivate and allocate clauses on scope construct
authorTobias Burnus <tobias@codesourcery.com>
Fri, 3 Jun 2022 13:52:22 +0000 (15:52 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Fri, 3 Jun 2022 13:54:02 +0000 (15:54 +0200)
commitff35a75473d28205e52ecbcf9e6b5107b8b5ab90
treefabbe2b84e5a22ae4936faa6a0455fa3dab3713e
parent43c013df02fdb07f9b7a5e7e6669e6d69769d451
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.
gcc/fortran/openmp.cc
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/libgomp.texi
libgomp/testsuite/libgomp.fortran/scope-2.f90 [new file with mode: 0644]