[Bug fortran/63640] move_alloc memory leak
mikael at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 23 14:58:00 GMT 2014
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?
More information about the Gcc-bugs
mailing list