https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81296
--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Tue Aug 22 01:02:15 2017 New Revision: 251254 URL: https://gcc.gnu.org/viewcvs?rev=251254&root=gcc&view=rev Log: 2017-08-21 Jerry DeLisle <jvdeli...@gcc.gnu.org> PR fortran/81296 * trans-io.c (get_dtio_proc): Add check for format label and set formatted flag accordingly. Reorganize the code a little. * gfortran.dg/dtio_12.f90: Update test. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-io.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/dtio_12.f90