https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66082
--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Tue May 26 10:20:41 2015 New Revision: 223677 URL: https://gcc.gnu.org/viewcvs?rev=223677&root=gcc&view=rev Log: 2015-05-26 Paul Thomas <pa...@gcc.gnu.org> PR fortran/66082 * trans-array.c (gfc_conv_array_parameter): Ensure that all non-variable arrays with allocatable components have the components deallocated after the procedure call. 2015-05-26 Paul Thomas <pa...@gcc.gnu.org> PR fortran/66082 * gfortran.dg/allocatable_scalar_13.f90: New test Added: trunk/gcc/testsuite/gfortran.dg/alloc_comp_auto_array_3.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-array.c trunk/gcc/testsuite/ChangeLog