------- Comment #10 from jvdelisle at gcc dot gnu dot org 2007-03-07 03:37 ------- Replying to comment #6. I am forming an opinion. Section 9.7 of the F2003 standard states:
"Backspacing over records written using list-directed or namelist formatting is prohibited." This implies to me that one should not mix BACKSPACE with a namelist file. However, I want to study the demo program a bit. This might be one of those "correct behavior, outside the standard" problems. Generally, reading past the last record gives an EOF and trying to read again is an error. The concept of a "record" with a namelist file does not seem to be compatible to me though. I will respond further after I have a chance to explore this a bit more. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31052