Re: [PATCH] Fortran/OpenMP: Add support for 'close' in map clause

2021-05-20 Thread Jakub Jelinek via Gcc-patches
On Thu, May 20, 2021 at 04:11:10PM +0200, Marcel Vollweiler wrote: > --- a/gcc/fortran/openmp.c > +++ b/gcc/fortran/openmp.c > @@ -1710,27 +1710,62 @@ gfc_match_omp_clauses (gfc_omp_clauses **cp, const > omp_mask mask, > && gfc_match ("map ( ") == MATCH_YES) > { >

Re: [PATCH] Fortran/OpenMP: Add support for 'close' in map clause

2021-05-20 Thread Marcel Vollweiler
Hi Jakub, Am 20.05.2021 um 10:57 schrieb Jakub Jelinek: On Thu, May 20, 2021 at 10:47:52AM +0200, Marcel Vollweiler wrote: --- a/gcc/fortran/openmp.c +++ b/gcc/fortran/openmp.c @@ -1710,10 +1710,21 @@ gfc_match_omp_clauses (gfc_omp_clauses **cp, const omp_mask mask, && gfc_match ("m

Re: [PATCH] Fortran/OpenMP: Add support for 'close' in map clause

2021-05-20 Thread Jakub Jelinek via Gcc-patches
On Thu, May 20, 2021 at 10:47:52AM +0200, Marcel Vollweiler wrote: > --- a/gcc/fortran/openmp.c > +++ b/gcc/fortran/openmp.c > @@ -1710,10 +1710,21 @@ gfc_match_omp_clauses (gfc_omp_clauses **cp, const > omp_mask mask, > && gfc_match ("map ( ") == MATCH_YES) > { >

[PATCH] Fortran/OpenMP: Add support for 'close' in map clause

2021-05-20 Thread Marcel Vollweiler
Hi, This patch adds handling for the map-type-modifier 'close' in the map clause in the Fortran parser (for C and C++ parsers the changes were already committed). 'close' was introduced with OpenMP 5.0: "The close map-type-modifier is a hint to the runtime to allocate memory close to the target