http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162
--- Comment #32 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2012-12-22 10:46:42 UTC --- Author: tkoenig Date: Sat Dec 22 10:46:37 2012 New Revision: 194694 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194694 Log: 2012-12-22 Thomas Koenig <tkoe...@gcc.gnu.org> PR libfortran/30162 Backport from trunk * io/unix.c (raw_tell): If the lseek is done on a non-seekable file, return 0. Modified: branches/gcc-4_7-branch/libgfortran/ChangeLog branches/gcc-4_7-branch/libgfortran/io/unix.c