https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65024
--- Comment #12 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Tue Mar 10 22:24:01 2015 New Revision: 221338 URL: https://gcc.gnu.org/viewcvs?rev=221338&root=gcc&view=rev Log: 2015-03-10 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-10 Paul Thomas <pa...@gcc.gnu.org> PR fortran/65024 * gfortran.dg/unlimited_polymorphic_23.f90: New test Added: branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/unlimited_polymorphic_23.f90 Modified: branches/gcc-4_9-branch/gcc/fortran/ChangeLog branches/gcc-4_9-branch/gcc/fortran/trans-expr.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog