https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61640
--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Sun Jun 29 02:49:45 2014 New Revision: 212118 URL: https://gcc.gnu.org/viewcvs?rev=212118&root=gcc&view=rev Log: 2014-06-28 Jerry DeLisle <jvdeli...@gcc.gnu.org> 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: trunk/libgfortran/ChangeLog trunk/libgfortran/io/list_read.c trunk/libgfortran/io/unix.c