https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65024
--- Comment #11 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Tue Mar 10 19:39:05 2015 New Revision: 221334 URL: https://gcc.gnu.org/viewcvs?rev=221334&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: trunk/gcc/testsuite/gfortran.dg/unlimited_polymorphic_23.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog