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 #10 from janus at gcc dot gnu.org ---
Author: janus
Date: Sun Apr 23 08:26:50 2017
New Revision: 247083

URL: https://gcc.gnu.org/viewcvs?rev=247083&root=gcc&view=rev
Log:
2017-04-22  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/80121
        * trans-types.c (gfc_conv_procedure_call): Deallocate the components
        of allocatable intent(out) arguments.

2017-04-22  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/80121
        * gfortran.dg/intent_out_9.f90: New test case.

Added:
    trunk/gcc/testsuite/gfortran.dg/intent_out_9.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog

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