This is an archive of the discontinued LLVM Phabricator instance.

[flang] More precise enforcement of runtime constraint
ClosedPublic

Authored by klausler on Apr 12 2021, 5:10 PM.

Details

Summary

An OPEN statement that affects an already connected unit
without changing its external file is required to have
STATUS="OLD" or default STATUS=. The code was eliciting
spurious runtime errors in situations where an OPEN statement
pertained to an existing unit number but did not need to have
STATUS="OLD'.

Diff Detail

Event Timeline

klausler created this revision.Apr 12 2021, 5:10 PM
klausler requested review of this revision.Apr 12 2021, 5:10 PM
klausler updated this revision to Diff 337010.Apr 12 2021, 6:05 PM

clang-format

PeteSteinfeld accepted this revision.Apr 13 2021, 1:03 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Apr 13 2021, 1:03 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2021, 4:00 PM