[Bug fortran/67588] module.c heap use after free
zeccav at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 17 15:36:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67588
--- Comment #7 from Vittorio Zecca <zeccav at gmail dot com> ---
use_list is local to the function gfc_match_submodule and it is already
reinitialized in the for statement at line 806.
So there is a duplication.
On return at line 812 it is then lost.
Maybe optimization would expunge it anyway.
More information about the Gcc-bugs
mailing list