This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix WRITE after BACKSPACE
ClosedPublic

Authored by klausler on Oct 1 2020, 9:52 AM.

Details

Summary

A WRITE to an unformatted sequential variable-length unit after
a BACKSPACE needs to forget its previous knowledge of the length
of the record that's about to be overwritten, and a BACKSPACE
after an ENDFILE or at the start of the file needs to be a no-op.

Diff Detail

Event Timeline

klausler created this revision.Oct 1 2020, 9:52 AM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Oct 1 2020, 9:52 AM
tskeith accepted this revision.Oct 1 2020, 10:10 AM
This revision is now accepted and ready to land.Oct 1 2020, 10:10 AM
This revision was automatically updated to reflect the committed changes.