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/79311] [OOP] ICE in generate_finalization_wrapper, at fortran/class.c:1992


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

--- Comment #8 from janus at gcc dot gnu.org ---
Author: janus
Date: Tue May  9 20:55:38 2017
New Revision: 247818

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

        PR fortran/79311
        * resolve.c (gfc_resolve_finalizers): Ensure that derived-type
        components have a their finalizers resolved, also if the superordinate
        type itself has a finalizer.

2017-05-09  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/79311
        * gfortran.dg/finalize_32.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/finalize_32.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog

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