[Bug fortran/80121] Memory leak with derived-type intent(out) argument
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 17 13:50:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80121
--- Comment #5 from janus at gcc dot gnu.org ---
In trans-decl.c there is a function called 'init_intent_out_dt', which takes
care of deallocating the allocatable components of intent(out) derived-type
dummies. However, it has a comment saying:
/* Note: Allocatables are excluded as they are already handled
by the caller. */
More information about the Gcc-bugs
mailing list