https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38935
--- Comment #2 from Paweł Zacharek <subc2 at wp dot pl> --- GCC behaves correctly, according to OpenMP 4.0 (https://www.openmp.org/wp-content/uploads/OpenMP4.0.0.pdf#page=175) and OpenMP 4.5 (https://www.openmp.org/wp-content/uploads/openmp-4.5.pdf#page=211) Specifications. The TR7 OpenMP 5.0 Draft hadn't changed that as well.