[Bug c++/88967] [9 regression] openmp default(none) broken

lebedev.ri at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 22 16:57:00 GMT 2019


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

--- Comment #5 from Roman Lebedev <lebedev.ri at gmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
> I've asked the ifort/clang maintainers about why they keep violating the
> standard, but haven't heard back from them.  And I must say I was trying
> hard to readd the above rule + exception, but haven't succeeded.
Uhm, apparently clang does implement it correctly:
https://godbolt.org/z/_HFUki
the default OpenMP version used is still 3.1, thus it is not noticeable.

This begs the question, does gcc have a similar switch?


More information about the Gcc-bugs mailing list