------- Comment #2 from jvdelisle at gcc dot gnu dot org 2009-04-11 15:46 ------- I think gfortran has this right. This is an attempt to read from an internal unit of length zero. Try the same operation from a zero length file.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39587