https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684
--- Comment #18 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Fri May 6 01:18:59 2016 New Revision: 235941 URL: https://gcc.gnu.org/viewcvs?rev=235941&root=gcc&view=rev Log: 2016-05-05 Jerry DeLisle <jvdeli...@gcc.gnu.org> Backport from trunk. PR libgfortran/70684 * io/list_read (next_char): Add '\r' to check for end of line. factor. (two places) PR libgfortran/70684 * gfortran.dg/list_read_14.f90: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/list_read_14.f90 Modified: branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/libgfortran/ChangeLog branches/gcc-4_9-branch/libgfortran/io/list_read.c