This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] BACKSPACE after non-advancing I/O
ClosedPublic

Authored by klausler on May 5 2022, 4:26 PM.

Details

Summary

A BACKSPACE statement on a unit after a READ or WRITE with ADVANCE="NO"
must reset the position to the beginning of the record, not to the
beginning of the previous one.

Diff Detail

Event Timeline

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