https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119588
Arsen Arsenović <arsen at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arsen at gcc dot gnu.org
--- Comment #3 from Arsen Arsenović <arsen at gcc dot gnu.org> ---
> - I believe that it is not compatible with a strict reading of the
> OpenMP 4.5 standard requirements for an implicit flush barrier at
> entry to and exit from a parallel region.
> https://www.openmp.org/wp-content/uploads/openmp-4.5.pdf P165. I
> have the impression from the value of the `_OPENMP` macro
> that we advertise that this is the standard we currently implement
> -- is that correct?
it was, but not any longer:
~$ gcc-16 -E -o - -x c -fopenmp - <<<'_OPENMP'
202111
~$ gcc-15 -E -o - -x c -fopenmp - <<<'_OPENMP'
201511
see r16-6027-ga57b0e3ecb797b