https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67367
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Sat Aug 29 15:38:39 2015 New Revision: 227320 URL: https://gcc.gnu.org/viewcvs?rev=227320&root=gcc&view=rev Log: 2015-08-29 Jerry DeLisle <jvdeli...@gcc.gnu.org> PR libgfortran/67367 * io/unix.c (buf_read): Check for error condition and if found return the error code. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/unix.c