https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65024
--- Comment #13 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sun Mar 15 09:13:03 2015 New Revision: 221440 URL: https://gcc.gnu.org/viewcvs?rev=221440&root=gcc&view=rev Log: 2015-03-15 Paul Thomas <pa...@gcc.gnu.org> PR fortran/65024 * trans-expr.c (gfc_conv_component_ref): If the component backend declaration is missing and the derived type symbol is available in the reference, call gfc_build_derived_type. 2015-03-15 Paul Thomas <pa...@gcc.gnu.org> PR fortran/65024 * gfortran.dg/unlimited_polymorphic_23.f90: New test Added: branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/unlimited_polymorphic_23.f90 Modified: branches/gcc-4_8-branch/gcc/fortran/ChangeLog branches/gcc-4_8-branch/gcc/fortran/trans-expr.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog