This is an archive of the discontinued LLVM Phabricator instance.

[flang] Signal runtime error on WRITE after ENDFILE
ClosedPublic

Authored by klausler on Jan 14 2022, 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.Jan 14 2022, 11:08 AM
klausler requested review of this revision.Jan 14 2022, 11:08 AM
vdonaldson accepted this revision.Jan 14 2022, 11:17 AM
This revision is now accepted and ready to land.Jan 14 2022, 11:17 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2022, 2:46 PM