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/31052] Bad IOSTAT values when readings NAMELISTs past EOF



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


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