http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58771
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sun Nov 17 08:11:33 2013 New Revision: 204913 URL: http://gcc.gnu.org/viewcvs?rev=204913&root=gcc&view=rev Log: 2013-11-17 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-17 Paul Thomas <pa...@gcc.gnu.org> PR fortran/58771 * gfortran.dg/derived_external_function_1.f90 : New test Added: branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/derived_external_function_1.f90 Modified: branches/gcc-4_7-branch/gcc/fortran/ChangeLog branches/gcc-4_7-branch/gcc/fortran/trans-io.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog