[Bug fortran/77657] link error with implementation of user-defined derived type input/output (UD-DTIO) in child extending abstract parent

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 21 06:58:00 GMT 2016


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

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Wed Sep 21 06:57:28 2016
New Revision: 240301

URL: https://gcc.gnu.org/viewcvs?rev=240301&root=gcc&view=rev
Log:
2016-09-21  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/77657

        * interface.c (gfc_find_specific_dtio_proc): Borrow trick from
        resolve_typebound_generic_call to find dtio procedures that
        over-ride those in the declared type.

2016-09-21  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/77657
        * gfortran.dg/dtio_12.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/dtio_12.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/interface.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list