Re: [Patch] Fortran/OpenMP: Add memory routines existing for C/C++

2021-08-18 Thread Jakub Jelinek via Gcc-patches
On Wed, Aug 18, 2021 at 11:00:47AM +0200, Tobias Burnus wrote: > Note 2 --- > 'omp_lib.h' is included in as declaration-construct in the > specification-part of a file (i.e. possibly after an implicit statement); > hence, it cannot contain a use-stmt. Additiona

[Patch] Fortran/OpenMP: Add memory routines existing for C/C++

2021-08-18 Thread Tobias Burnus
The added routines existed before for C/C++ (being part of OpenMP 5.0) but not for Fortran (new there since OpenMP 5.1) – as those are all bind(C), it only affects 'omp_lib' and uses the C interface otherwise. Note 1: OpenMP 5.1 added additional (target) memory routines for C/C++ and Fortran; tho