https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80392

--- Comment #6 from janus at gcc dot gnu.org ---
Author: janus
Date: Mon May  1 09:56:52 2017
New Revision: 247430

URL: https://gcc.gnu.org/viewcvs?rev=247430&root=gcc&view=rev
Log:
2017-05-01  Janus Weil  <ja...@gcc.gnu.org>

        Backport from trunk
        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-05-01  Janus Weil  <ja...@gcc.gnu.org>

        Backport from trunk
        PR fortran/80392
        * gfortran.dg/proc_ptr_comp_49.f90: New test case.

Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/proc_ptr_comp_49.f90
Modified:
    branches/gcc-6-branch/gcc/fortran/ChangeLog
    branches/gcc-6-branch/gcc/fortran/trans-types.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to