This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Mar 2007 21:51:23 -0000
- Subject: [Bug libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF
- References: <bug-31052-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from anlauf at gmx dot de 2007-03-06 21:51 -------
Created an attachment (id=13153)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13153&action=view)
Revised demo
Revised demo. New namelist for this demo follows.
At some place, the input read gets garbled with gfortran,
see the comment before the print statement in "position_nml".
Removing a few lines in the main program will hide this bug.
Somehow the cycle REWIND/READ/BACKSPACE/(READ) confuses the runtime.
--
anlauf at gmx dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #13148|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31052