This patch implements "omp declare mapper" functionality for Fortran,
following the equivalent support for C and C++. This version of the
patch is based on the version posted for the og13 branch:
https://gcc.gnu.org/pipermail/gcc-patches/2023-June/623357.html
and contains some significant chan
This patch adds support for "declare mapper" directives (and the "mapper"
modifier on "map" clauses) for C. It was previously posted for mainline
here:
https://gcc.gnu.org/pipermail/gcc-patches/2022-December/609041.html
and for the og13 branch here:
https://gcc.gnu.org/pipermail/gcc-patches
Some of the processing done by gfc_trans_omp_clauses depends on the
directive that that clause is attached to. This patch refactors two
booleans and one gfc_exec_op parameter for gfc_trans_omp_clauses into
a single parameter of (new) enumerated type 'toc_directive'. The same
parameter is also pas
This patch breaks out two helper functions from
openmp.cc:resolve_omp_clauses, so those parts can be reused in order
to improve diagnostics (duplicate clause checking, etc.) after "declare
mapper" instantiation in the patch later in this series. This is pretty
mechanical -- most previous lines are
This patch adds support for OpenMP 5.0 "declare mapper" functionality
for C++. This is based on the version of the patch posted for the og13
branch here:
https://gcc.gnu.org/pipermail/gcc-patches/2023-June/623353.html
The following follow up patches/fixes have also been incorporated into
this
This is a cleanup to avoid passing an ever-longer list of boolean
arguments to gfc_free_omp_namelist, in support of the Fortran "declare
mapper" implementation further along this patch series.
This patch isn't intended to cause any behavioural changes.
2023-09-05 Julian Brown
gcc/fortran/
This patch adds support for parsing general lvalues ("locator list item
types") for OpenMP "map", "to" and "from" clauses to the C front-end,
similar to the previously-posted patch for C++. Such syntax is permitted
for OpenMP 5.0 and above. It was previously posted for mainline here:
https://g
This series implements "lvalue" parsing for C and C++ map/to/from clauses,
and "declare mapper" support for C, C++ and Fortran. This is the latter
part of the series that was previously posted for mainline here:
https://gcc.gnu.org/pipermail/gcc-patches/2022-December/609031.html
and is approxi