https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59198
--- Comment #25 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Thu Mar 19 20:12:29 2015 New Revision: 221523 URL: https://gcc.gnu.org/viewcvs?rev=221523&root=gcc&view=rev Log: 2014-03-19 Paul Thomas <pa...@gcc.gnu.org> PR fortran/59198 * trans-types.c (gfc_get_derived_type): If an abstract derived type with procedure pointer components has no other type of component, return the backend_decl. Otherwise build the components if any of the non-procedure pointer components have no backend_decl. 2014-03-19 Paul Thomas <pa...@gcc.gnu.org> PR fortran/59198 * gfortran.dg/proc_ptr_comp_44.f90 : New test * gfortran.dg/proc_ptr_comp_45.f90 : New test Added: branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/proc_ptr_comp_44.f90 branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/proc_ptr_comp_45.f90 Modified: branches/gcc-4_9-branch/gcc/fortran/ChangeLog branches/gcc-4_9-branch/gcc/fortran/trans-types.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog