https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387
--- Comment #9 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Sat Feb 23 18:07:10 2019 New Revision: 269161 URL: https://gcc.gnu.org/viewcvs?rev=269161&root=gcc&view=rev Log: 2019-02-23 Jerry DeLisle <jvdeli...@gcc.gnu.org> PR fortran/84387 * trans-io.c (transfer_expr): Do not return if there are no components to the derived type or class. * gfortran.dg/dtio_34.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/dtio_34.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-io.c trunk/gcc/testsuite/ChangeLog