------- Comment #27 from dir at lanl dot gov 2005-12-22 21:14 ------- In the second example in comment #3, the first read reads the end of file and the end=1008 works correctly. On the second read, the end of file has been passed so that the end=1011 does not and should not catch it - it is an error condition and a correct error message is printed. If err=1011 was used, then the error message should not be printed and the programs should jump to 1011 with out comment.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25139