------- Comment #7 from kargl at gcc dot gnu dot org 2007-01-27 23:34 ------- (In reply to comment #3) > > I believe recursive IO is undefined > > Probably, but the same code works with > > Target: x86_64-unknown-linux-gnu > gcc version 4.3.0 20061231 (experimental) >
Undefined means undefined. It might do what you want on one platform and something entirely different on another. If I read the F2003 standrad correctly, then your program conforms to F2003. You may want to change this to an enhancement request. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30617