http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162
--- Comment #31 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2012-12-21 20:50:52 UTC --- Author: tkoenig Date: Fri Dec 21 20:50:48 2012 New Revision: 194679 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194679 Log: 2012-12-21 Thomas Koenig <tkoe...@gcc.gnu.org> PR libfortran/30162 * io/unix.c (raw_tell): If the lseek is done on a non-seekable file, return 0. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/unix.c