This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36942] iostat and/or end= and Err= don't work in read statements, unformatted reads
- From: "michael dot e dot olsen at nasa dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2008 22:37:55 -0000
- Subject: [Bug fortran/36942] iostat and/or end= and Err= don't work in read statements, unformatted reads
- References: <bug-36942-16518@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from michael dot e dot olsen at nasa dot gov 2008-07-25 22:37 -------
Created an attachment (id=15963)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15963&action=view)
Version showing iostat isn't distinguishing either.
This version is a little more involved, and opens and closes the file to create
error and end conditions. iostat allways returns 0 for normal cases, and -1
for either end or error conditions
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36942