This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/25139] [4.1/4.2 regression] "Invalid argument" error on I/O



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]