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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note, in OpenMP 3.1 and earlier this would be actually valid:
"Variables with const-qualified type having no mutable member are shared."
and __PRETTY_FUNCTION__ etc. is const qualified (const char []).
This has changed in OpenMP 4.0, such variables are no longer predetermined
shared, so must be explicitly listed in data sharing clauses for default(none).
There is nothing wrong on the compiler side here.

Reply via email to