https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102966
--- Comment #7 from Bastiaan Braams <b.j.braams at cwi dot nl> --- Pleased to see that the run-time error is properly diagnosed in version 11.2.1 and later, and agreed that the matter is outside the fortran language standard. Just one comment on the discussion in view of the WONTFIX label: the failure to generate a run-time error for this code may be viewed, I think, as a bug against the specification of the -fcheck=all option, which includes -fcheck=pointer with the description "Enable generation of run-time checks for pointers and allocatables." It appears that an appropriate run-time check was not generated.
