This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Handle BACKSPACE after reading past EOF
ClosedPublic

Authored by klausler on May 21 2022, 10:11 PM.

Details

Summary

An external READ(END=) that hits the end of the file must
also note the virtual position of the endfile record that
has just been discovered, so that a later BACKSPACE statement
won't end up at the wrong record.

Diff Detail

Event Timeline

klausler created this revision.May 21 2022, 10:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 21 2022, 10:11 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.May 21 2022, 10:11 PM
vdonaldson accepted this revision.May 23 2022, 10:24 AM
This revision is now accepted and ready to land.May 23 2022, 10:24 AM
This revision was automatically updated to reflect the committed changes.