http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58771
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sat Nov 16 21:44:56 2013 New Revision: 204907 URL: http://gcc.gnu.org/viewcvs?rev=204907&root=gcc&view=rev Log: 2013-11-16 Paul Thomas <pa...@gcc.gnu.org> PR fortran/58771 * trans-io.c (transfer_expr): If the backend_decl for a derived type is missing, build it with gfc_typenode_for_spec. 2013-11-16 Paul Thomas <pa...@gcc.gnu.org> PR fortran/58771 * gfortran.dg/derived_external_function_1.f90 : New test Added: branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/derived_external_function_1.f90 Modified: branches/gcc-4_8-branch/gcc/fortran/ChangeLog branches/gcc-4_8-branch/gcc/fortran/trans-io.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog