[Bug fortran/69955] Memory leak with array constructor and derived type
lkrupp at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 7 02:25:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69955
--- Comment #5 from lkrupp at gcc dot gnu.org ---
Author: lkrupp
Date: Fri Oct 7 02:24:40 2016
New Revision: 240851
URL: https://gcc.gnu.org/viewcvs?rev=240851&root=gcc&view=rev
Log:
2016-10-06 Louis Krupp <louis.krupp@zoho.com>
* gfortran.dg/pr69955.f90: New test.
2016-10-06 Louis Krupp <louis.krupp@zoho.com>
PR fortran/69955
* trans-array.c (gfc_conv_expr_descriptor): Don't allocate
components if it's not necessary.
Added:
trunk/gcc/testsuite/gfortran.dg/pr69955.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list