This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/80392] [5/6/7/8 Regression] [OOP] ICE with allocatable polymorphic function result in a procedure pointer component


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

--- Comment #7 from janus at gcc dot gnu.org ---
Author: janus
Date: Mon May  1 10:51:22 2017
New Revision: 247435

URL: https://gcc.gnu.org/viewcvs?rev=247435&root=gcc&view=rev
Log:
2017-05-01  Janus Weil  <janus@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  <janus@gcc.gnu.org>

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

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]