Fortran/OpenMP: Add support for 'close' in map clause
authorMarcel Vollweiler <marcel@codesourcery.com>
Thu, 20 May 2021 15:52:34 +0000 (08:52 -0700)
committerMarcel Vollweiler <marcel@codesourcery.com>
Thu, 20 May 2021 15:54:18 +0000 (08:54 -0700)
commitcdcec2f8505ea12c2236cf0184d77dd2f5de4832
tree7328b403b08d07d88da3f96823dec27508992c8b
parent325bb080259d3a00c5f5a7378872f78a2b889dfb
Fortran/OpenMP: Add support for 'close' in map clause

gcc/fortran/ChangeLog:

* openmp.c (gfc_match_omp_clauses): Support map-type-modifier 'close'.

gcc/testsuite/ChangeLog:

* gfortran.dg/gomp/map-6.f90: New test.
* gfortran.dg/gomp/map-7.f90: New test.
* gfortran.dg/gomp/map-8.f90: New test.
gcc/fortran/openmp.c
gcc/testsuite/gfortran.dg/gomp/map-6.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/gomp/map-7.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/gomp/map-8.f90 [new file with mode: 0644]