This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/80121] Memory leak with derived-type intent(out) argument


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.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]