https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88203
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2018-11-27 Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Ok, I agree something needs to change, either we should accept __func__ etc. in data-sharing clauses that allow const qualified variables, or it should be ignored for default(none). icc and clang choose the latter, but from the standard wording it seems the right thing is probably accepting it in data sharing clauses. I've raised it on OpenMP language committee.