[Bug fortran/80121] Memory leak with derived-type intent(out) argument
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 5 21:05:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80121
--- Comment #14 from janus at gcc dot gnu.org ---
Author: janus
Date: Fri May 5 21:00:53 2017
New Revision: 247662
URL: https://gcc.gnu.org/viewcvs?rev=247662&root=gcc&view=rev
Log:
2017-05-05 Janus Weil <janus@gcc.gnu.org>
Backport from trunk
PR fortran/80121
* trans-expr.c (gfc_conv_procedure_call): Deallocate the components
of allocatable intent(out) arguments.
2017-05-05 Janus Weil <janus@gcc.gnu.org>
Backport from trunk
PR fortran/80121
* gfortran.dg/intent_out_9.f90: New test case.
Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/intent_out_9.f90
Modified:
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/trans-expr.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list