------- Comment #17 from jvdelisle at gcc dot gnu dot org 2010-03-12 14:32 ------- Subject: Bug 43265
Author: jvdelisle Date: Fri Mar 12 14:32:39 2010 New Revision: 157404 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157404 Log: 2010-03-12 Jerry DeLisle <jvdeli...@gcc.gnu.org> PR libfortran/43265 Backport from trunk. * io/read.c (read_x): Replace the use of read_sf with equivalent lower level I/O, eliminating unneeded code and handling EOF and EOR conditions. * io/io.h: Revise prototype for read_sf. * io/transfer.c (read_sf): Delete no_error parameter and all uses of it. Set eof and eor condition flags. (read_block_form): Likewise. (next_record_r): Add condition to call to hit_eof. Modified: branches/gcc-4_4-branch/libgfortran/ChangeLog branches/gcc-4_4-branch/libgfortran/io/io.h branches/gcc-4_4-branch/libgfortran/io/read.c branches/gcc-4_4-branch/libgfortran/io/transfer.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43265