https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94876
--- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- Created attachment 48419 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48419&action=edit '0001-WIP-Refuse-OMP-OpenACC-DECL_ARTIFICIAL-in-oacc_defau.patch' Indeed, using the attached '0001-WIP-Refuse-OMP-OpenACC-DECL_ARTIFICIAL-in-oacc_defau.patch', we get the following regressions, which indicate cases where 'gcc/gimplify.c:oacc_default_clause' currently has to figure out how to deal with 'DECL_ARTIFICIAL' objects: - 'c-c++-common/goacc/firstprivate-mappings-1.c' - 'g++.dg/goacc/firstprivate-mappings-1.C' - 'gfortran.dg/goacc/default_none.f95' - 'gfortran.dg/goacc/modules.f95' - 'gfortran.dg/goacc/nested-function-1.f90' - 'gfortran.dg/goacc/pr77371-1.f90'