This is an archive of the discontinued LLVM Phabricator instance.

[flang] Emit unformatted headers & footers even with RECL=
ClosedPublic

Authored by klausler on Oct 21 2021, 10:49 AM.

Details

Summary

The runtime library was emitting unformatted record headers and
footers when an external unit had no fixed RECL=. This is wrong
for sequential files, which should have headers & footers even
with RECL. Change to omit headers & footers from unformatted
I/O only for direct access files.

Diff Detail

Event Timeline

klausler created this revision.Oct 21 2021, 10:49 AM
klausler requested review of this revision.Oct 21 2021, 10:49 AM
vdonaldson accepted this revision.Oct 21 2021, 11:40 AM
This revision is now accepted and ready to land.Oct 21 2021, 11:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 22 2021, 11:07 AM