[Bug libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF

kargl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 5 23:27:00 GMT 2007



------- Comment #2 from kargl at gcc dot gnu dot org  2007-03-05 23:27 -------
The value 5008 is listed in libgfortran.h as ERROR_ENDFILE.  The
-1 corresponds to ERROR_END.  So, the return value of 5008 is 
telling you that you are trying to (initiate a?) read beyond
the end of the file, which you admit to doing.

AFAIK, the IOSTAT values aren't documented in gfortran.texi.
Someday, someone will get around to documenting them.


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31052



More information about the Gcc-bugs mailing list