I have now committed the second declare mapper patch, submitted
by Julian at
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/629367.html
again it is based in the associated OG15 commit (kudos to all doing the
rediffs):
  69fd51954fc  OpenMP: Support OpenMP 5.0 "declare mapper" directives for C

Committed as r16-1004-g0c8d92a9ac08d4.

Contrary to the original C++ patch, it did not ICE for my testcases.
However, the issue that only 'mapper(default)' is permitted in
'map' clauses in 'declare mapper' now has a diagnostic and an
OpenMP spec issue to lift this restriction: #4533.

Besides that diagnostic change and additional tests, I only change
an "error:" to a "note:" ("inform(…)") for consistency and better
readability (also for 'declare reduction'), plus the usual minor
changes.

[More commits to come from Julian's patch set for 'declare mapper';
unfortunately, also my local collection of not-(yet-)working tests grows.]

Tobias

Reply via email to