https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80392
--- Comment #5 from janus at gcc dot gnu.org --- Author: janus Date: Fri Apr 21 20:47:12 2017 New Revision: 247069 URL: https://gcc.gnu.org/viewcvs?rev=247069&root=gcc&view=rev Log: 2017-04-21 Janus Weil <ja...@gcc.gnu.org> PR fortran/80392 * trans-types.c (gfc_get_derived_type): Prevent an infinite loop when building a derived type that includes a procedure pointer component with a polymorphic result. 2017-04-21 Janus Weil <ja...@gcc.gnu.org> PR fortran/80392 * gfortran.dg/proc_ptr_comp_49.f90: New test case. Added: trunk/gcc/testsuite/gfortran.dg/proc_ptr_comp_49.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-types.c trunk/gcc/testsuite/ChangeLog