https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64578
--- Comment #13 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sun Jan 18 15:52:49 2015 New Revision: 219818 URL: https://gcc.gnu.org/viewcvs?rev=219818&root=gcc&view=rev Log: 2015-01-18 Paul Thomas <pa...@gcc.gnu.org> PR fortran/64578 * trans-expr.c (gfc_trans_subcomponent_assign): Use a deep copy for allocatable components, where the source is a variable. 2015-01-18 Paul Thomas <pa...@gcc.gnu.org> PR fortran/64578 * gfortran.dg/block_13.f08: New test Added: trunk/gcc/testsuite/gfortran.dg/block_13.f08 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog