re PR fortran/78737 ([OOP] linking error with deferred, undefined user-defined derive...
authorJanus Weil <janus@gcc.gnu.org>
Tue, 13 Dec 2016 14:28:17 +0000 (15:28 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 13 Dec 2016 14:28:17 +0000 (15:28 +0100)
commite4e659b947e64c015681361cbae571bf130d4c17
tree16886e0e5dffba38ef9799f2e00573929fd4f3b8
parent68a08b7792102aa2851232eec19f5f68047d21ae
re PR fortran/78737 ([OOP] linking error with deferred, undefined user-defined derived-type I/O)

2016-12-13  Janus Weil  <janus@gcc.gnu.org>
    Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78737
* gfortran.h (gfc_find_typebound_dtio_proc): New prototype.
* interface.c (gfc_compare_interfaces): Whitespace fix.
(gfc_find_typebound_dtio_proc): New function.
(gfc_find_specific_dtio_proc): Use it. Improve error recovery.
* trans-io.c (get_dtio_proc): Implement polymorphic calls to DTIO
procedures.

2016-12-13  Janus Weil  <janus@gcc.gnu.org>
    Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78737
* gfortran.dg/dtio_19.f90: New test case.

Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
From-SVN: r243609
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/trans-io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dtio_19.f90 [new file with mode: 0644]