[Bug middle-end/94874] [OpenMP] Unhelpful 'defaultmap(none)' diagnostic for 'DECL_ARTIFICIAL': 'error: ‘array_li.0’ not specified in enclosing ‘target’'

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 30 10:54:16 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94874

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This is something that is handled by
lang_hooks.decls.omp_predetermined_sharing
some FEs need to treat all DECL_ARTIFICIAL decls that way, others perhaps a
subset of them.


More information about the Gcc-bugs mailing list