re PR fortran/78661 ([OOP] Namelist output missing object designator under DTIO)
authorJanus Weil <janus@gcc.gnu.org>
Tue, 28 Mar 2017 17:01:05 +0000 (19:01 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 28 Mar 2017 17:01:05 +0000 (19:01 +0200)
commitcf474530613eaaa4d28534a5a53ef61fcc71180d
tree6beb828d036294eea66384e7a4eb740ad9421682
parent189d9d3a8fca52e18a62f16a4e316dc690a4d856
re PR fortran/78661 ([OOP] Namelist output missing object designator under DTIO)

2017-03-28  Janus Weil  <janus@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  <janus@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  <janus@gcc.gnu.org>

PR fortran/78661
* io/write.c (nml_write_obj): Build a class container only if necessary.

From-SVN: r246546
gcc/fortran/ChangeLog
gcc/fortran/trans-io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dtio_25.f90
gcc/testsuite/gfortran.dg/dtio_27.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/write.c