https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69385
--- Comment #18 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Wed Jan 27 21:24:01 2016 New Revision: 232904 URL: https://gcc.gnu.org/viewcvs?rev=232904&root=gcc&view=rev Log: 2016-01-27 Paul Thomas <pa...@gcc.gnu.org> PR fortran/69385 * trans-expr.c (is_scalar_reallocatable_lhs): Remove the check for allocatable components, whilst checking if the symbol is a derived or class entity.. 2015-01-27 Paul Thomas <pa...@gcc.gnu.org> PR fortran/69385 * gfortran.dg/alloc_comp_assign_15.f03: New test. Added: trunk/gcc/testsuite/gfortran.dg/alloc_comp_assign_15.f03 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog