https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54679
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Mon Oct 31 19:59:04 2016 New Revision: 241720 URL: https://gcc.gnu.org/viewcvs?rev=241720&root=gcc&view=rev Log: 2016-10-31 Jerry DeLisle <jvdeli...@gcc.gnu.org> PR fortran/54679 * io.c (check_format): Adjust checks for FMT_L to treat a zero width as an extension, giving warnings or error as appropriate. Improve messages. PR libgfortran/54679 * io/format.c (parse_format_list): Adjust checks for FMT_L to treat a zero width as an extension, giving warnings or error as appropriate. Improve messages. PR fortran/54679 * gfortran.dg/fmt_l.f90: Update test. * gfortran.dg/fmt_l0.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/fmt_l0.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/io.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/fmt_l.f90 trunk/libgfortran/ChangeLog trunk/libgfortran/io/format.c