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 fortran/36942] iostat and/or end= and Err= don't work in read statements, unformatted reads



------- Comment #4 from kargl at gcc dot gnu dot org  2008-07-25 22:45 -------
Your iostat code with the same compilers shows

troutmask:sgk[219] ./z
 ival(should indicate normal)           0
 ival(should indicate normal)           0
 ival(should indicate end)          -1
 File closed and then reopened for errors...
 ival(should indicate error)          17
STOP making sense
troutmask:sgk[220] gfc4x -o z n.f
troutmask:sgk[221] ./z
 ival(should indicate normal)           0
 ival(should indicate normal)           0
 ival(should indicate end)          -1
 File closed and then reopened for errors...
 ival(should indicate error)        5016
STOP making sense


-- 


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


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