https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117654
Nick <nickpapior at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Nick <nickpapior at gmail dot com> --- According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107067 it seems this is intended behavior, i.e. the code I showed is invalid? I can see in OpenMP 6 (just released) this has been clarified, specifically: strictly structured block A single Fortran BLOCK construct, with a single entry at the top and a single exit at11 the bottom. loosely structured block A block of zero or more executable constructs (including OpenMP constructs),13 where the first executable construct (if any) is not a Fortran BLOCK construct, with a single entry at the top and a single exit at the bottom Which IMHO is a bit sad choice... Ok, so be it... But... I'll mark this as resolved+invalid, thanks!