This is an archive of the discontinued LLVM Phabricator instance.

[flang] Runtime must defer formatted/unformatted determination
ClosedPublic

Authored by klausler on May 5 2021, 11:34 AM.

Details

Summary

What the Fortran standard calls "preconnected" external I/O units
might not be known to be connected to unformatted or formatted files
until the first I/O data transfer statement is executed.
Support this deferred determination by representing the flag as
a tri-state Boolean and adapting its points of use.

Diff Detail

Event Timeline

klausler created this revision.May 5 2021, 11:34 AM
klausler requested review of this revision.May 5 2021, 11:34 AM
This revision is now accepted and ready to land.May 6 2021, 12:48 AM
This revision was landed with ongoing or failed builds.May 6 2021, 11:06 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 6 2021, 11:06 AM