http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45077
--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> 2011-02-20 16:23:57 UTC --- Author: pault Date: Sun Feb 20 16:23:50 2011 New Revision: 170337 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170337 Log: 2011-02-20 Paul Thomas <pa...@gcc.gnu.org> PR fortran/45077 PR fortran/44945 * trans-types.c (gfc_get_derived_type): Remove code that looks for decls in gsym and add call to gfc_get_module_backend_decl. * trans.h : Add prototype for gfc_get_module_backend_decl. * trans-decl.c (gfc_get_module_backend_decl): New function. (gfc_get_symbol_decl): Call it. 2011-02-20 Paul Thomas <pa...@gcc.gnu.org> PR fortran/45077 PR fortran/44945 * gfortran.dg/whole_file_28.f90 : New test. * gfortran.dg/whole_file_29.f90 : New test. Added: trunk/gcc/testsuite/gfortran.dg/whole_file_28.f90 trunk/gcc/testsuite/gfortran.dg/whole_file_29.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-decl.c trunk/gcc/fortran/trans-types.c trunk/gcc/fortran/trans.h trunk/gcc/testsuite/ChangeLog