Hi! On 2022-02-17T13:33:45+0100, I wrote: > On 2019-10-18T14:28:18+0200, I wrote: >> On 2019-10-06T15:32:34-0700, Julian Brown wrote: >>> This patch adds a function to pretty-print OpenACC clause names from >>> OMP_CLAUSE_MAP_KINDs, for error output. >> >> Indeed talking about (OpenMP) 'map' clauses in an OpenACC context is not >> quite ideal -- that's what PR65095 is about > >>> Previously approved as part of: >>> >>> https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01292.html > > >> A few more comments, for later: >> >>> gcc/c-family/c-common.h | 1 + >>> gcc/c-family/c-omp.c | 33 +++++++++++++++++++++++++++++++++ >> >> As I'd mentioned before: 'Eventually (that is, later), this should move >> into generic code, next to the other "clause printing". > > As part of an ICE bug fix that I'm working on, I now need to use > this in GCC middle end code. Pushed to master branch commit 828335beb77676acffb5911e575672cb55beb2e9 "Add 'gcc/tree.cc:user_omp_clause_code_name' [PR65095]", see attached. Grüße Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955