This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/78737] [OOP] linking error with deferred, undefined user-defined derived-type I/O
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Dec 2016 14:28:49 +0000
- Subject: [Bug fortran/78737] [OOP] linking error with deferred, undefined user-defined derived-type I/O
- Auto-submitted: auto-generated
- References: <bug-78737-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78737
--- Comment #25 from janus at gcc dot gnu.org ---
Author: janus
Date: Tue Dec 13 14:28:17 2016
New Revision: 243609
URL: https://gcc.gnu.org/viewcvs?rev=243609&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/dtio_19.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/interface.c
trunk/gcc/fortran/trans-io.c
trunk/gcc/testsuite/ChangeLog