------- Comment #15 from kloedej at knmi dot nl 2006-03-10 08:27 ------- (In reply to comment #14)
> All I'm saying is that in this situation there seems to be no way to jump > to some label if something goes wrong (because there is no EOR parameter > for WRITE). > But I agree that this is not gfortran's problem, but rather > an inconsistency in the standard. Dear people, thanks a lot for the discussion following my bug-report. The situation is clear to me now, and I agree this is not a real gfortran bug, but a problem in the standard. By the way, is there a way to warn/advise users to rather use the iostat keyword in stead of the err/end keywords in these problematic situations? In other words, is it possible for gfortran to detect potential problems like this, and then issue a warning, in addition to stopping with a runtime error? best regards, Jos de Kloe. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26509