This is an archive of the discontinued LLVM Phabricator instance.

[flang] Set right "inNamelist" flag
ClosedPublic

Authored by klausler on Feb 1 2022, 4:58 PM.

Details

Summary

NAMELIST I/O was inconsistent in its choice of which set of I/O modes
to set the "inNamelist" flag. The wrong choice was in the set of modes
that are part of the persistent state of an I/O connection; the right
place is the set of modes that are reinitialized at the beginning of
each I/O statement so that they can be modified by READ/WRITE control
list specifiers and FORMAT control edit descriptors. Fix.

Diff Detail

Event Timeline

klausler created this revision.Feb 1 2022, 4:58 PM
klausler requested review of this revision.Feb 1 2022, 4:58 PM
vdonaldson accepted this revision.Feb 1 2022, 5:07 PM
This revision is now accepted and ready to land.Feb 1 2022, 5:07 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2022, 9:33 AM