https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88203
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
OpenMP 5.1 will have in the
Certain variables and objects have predetermined data-sharing attributes as
follows:
list
"The __func__ variable and similar function-local predefined variables are
shared."
and in the
For these exceptions only, listing a predetermined variable in a data-sharing
attribute clause is allowed and overrides the variable’s predetermined
data-sharing attributes.
list
"The __func__ variable and similar function-local predefined variables may be
listed in a shared or firstprivate clause."
So, with __func__/__FUNCTION__/__PRETTY_FUNCTION__ may be explicitly specified
in shared or firstprivate clause, but with default(none) doesn't have to be.