[Bug libfortran/31052] New: Bad IOSTAT values when readings NAMELISTs past EOF
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Mon Mar 5 22:24:00 GMT 2007
Hi,
the attached problem showed up after PR 30918 got fixed.
(Thanks, Jerry!)
When reading a namelist again and again, even after EOF,
then suddenly the IOSTAT values jumps from -1 to 5008.
This does not happen with other compilers.
The namelist file fort.10 is the same as in PR 30918.
Output of test run:
NAMELIST /REPORT/ after iteration 1:
&REPORT
TYPE=SYNOP ,
USE=active ,
MAX_PROC= 20, /
Number of reports: 1
Last status = -1
Number of reports: 0
Last status = -1
Number of reports: 0
Last status = 5008
Cheers,
-ha
--
Summary: Bad IOSTAT values when readings NAMELISTs past EOF
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: anlauf at gmx dot de
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31052
More information about the Gcc-bugs
mailing list