------- Comment #1 from burnus at gcc dot gnu dot org 2008-02-07 22:52 ------- See: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/9e38ff2694bfdab1/
If I understand it correctly, the right solution is do the same as NAG f95 does and print the following: 123456 ASDFef End of file on unit 20 Program terminated by I/O error on unit 20 (File="foo.txt",Formatted,Stream) With the file "foo.txt" containing two lines. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-02-07 22:52:03 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35132