------- Comment #9 from steven at gcc dot gnu dot org 2006-07-30 23:12 ------- Shame on us for following the gut feeling instead of the Standard.
As Steve Kargl pointed out on the mailing list: F95 standard, Section 9.3.5, page 143, lines 6 an 7. Execution of a CLOSE statement specify a unit that does not exit or has no file connected to it is permitted and affects no file. F2003 has the exact same text. Seems we have a regression. -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28335