[Bug c++/88203] assert does not compile with OpenMP's pragma omp parallel for default(none)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 27 14:32:00 GMT 2018


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.


More information about the Gcc-bugs mailing list