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

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


--- Comment #7 from Roman Lebedev <lebedev.ri at gmail dot com> ---
(In reply to Jakub Jelinek from comment #6)
> No, gcc always implements just one OpenMP version, the latest one that has
> support written.
E.g. because of this everyone affected will need to either just completely drop
"default(none)", or litter the code with "OMP4SHARED(<vars>)" which will expand
to nothing for older gcc, and to "shared(<vars>)" for gcc9.

That does look 'weird' too :)

> Defaulting to almost 8 years old OpenMP version is weird.

More information about the Gcc-bugs mailing list