https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61640
--- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Mon Jul 7 03:35:09 2014 New Revision: 212319 URL: https://gcc.gnu.org/viewcvs?rev=212319&root=gcc&view=rev Log: 2014-07-06 Jerry DeLisle <jvdeli...@gcc.gnu.org> Backport from trunk. PR libgfortran/61640 * io/list_read.c (next_char_internal): Adjust the read length to a single wide character. (eat_spaces): Add missing paren. * io/unix.c (mem_read4): Use the correct mem_alloc function for wide character internal reads. Modified: branches/gcc-4_9-branch/libgfortran/ChangeLog branches/gcc-4_9-branch/libgfortran/io/list_read.c branches/gcc-4_9-branch/libgfortran/io/unix.c