Page MenuHomePhabricator

[flang] Fix INQUIRE of access and formatting possibilities
ClosedPublic

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

Details

Summary

Don't give false positives from INQUIRE about possible
access mode changes on connected units. DIRECT and SEQUENTIAL
cannot be intermixed, apart from allowing DIRECT on a SEQUENTIAL
file with fixed-size records and positioning. Nor can
FORMATTED and UNFORMATTED be interchanged. On unconnected
files, the best that we can do is "UNKNOWN".

Diff Detail

Event Timeline

klausler created this revision.Oct 1 2020, 9:45 AM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Oct 1 2020, 9:45 AM
PeteSteinfeld accepted this revision.Oct 1 2020, 9:55 AM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Oct 1 2020, 9:55 AM