https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63640
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikael at gcc dot gnu.org
--- Comment #6 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to janus from comment #5)
> Right. The Fortran standard only requires the compiler to auto-deallocate
> variables which live inside a function/subroutine, but not those declared
> directly in the main program.
>
On the other hand, allocated data should appear as "still reachable" at the end
of the program; so the bug is we lose the pointers just before exiting?