Page MenuHomePhabricator

[flang] Signal runtime error on WRITE after ENDFILE
ClosedPublic

Authored by klausler on Fri, Jan 14, 11:08 AM.

Details

Summary

After an ENDFILE statement, a WRITE is an error without
a prior BACKSPACE. Also fix the return value for the case
of formatted integer input with no input digits to be false
(exposed by new test).

Diff Detail

Event Timeline

klausler created this revision.Fri, Jan 14, 11:08 AM
klausler requested review of this revision.Fri, Jan 14, 11:08 AM
vdonaldson accepted this revision.Fri, Jan 14, 11:17 AM
This revision is now accepted and ready to land.Fri, Jan 14, 11:17 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFri, Jan 14, 2:46 PM