https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78661
--- Comment #28 from janus at gcc dot gnu.org --- Author: janus Date: Tue Mar 28 17:01:05 2017 New Revision: 246546 URL: https://gcc.gnu.org/viewcvs?rev=246546&root=gcc&view=rev Log: 2017-03-28 Janus Weil <ja...@gcc.gnu.org> PR fortran/78661 * trans-io.c (transfer_namelist_element): Perform a polymorphic call to a DTIO procedure if necessary. 2017-03-28 Janus Weil <ja...@gcc.gnu.org> PR fortran/78661 * gfortran.dg/dtio_25.f90: Modified test case. * gfortran.dg/dtio_27.f90: New test case. 2017-03-28 Janus Weil <ja...@gcc.gnu.org> PR fortran/78661 * io/write.c (nml_write_obj): Build a class container only if necessary. Added: trunk/gcc/testsuite/gfortran.dg/dtio_27.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-io.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/dtio_25.f90 trunk/libgfortran/ChangeLog trunk/libgfortran/io/write.c