This is an archive of the discontinued LLVM Phabricator instance.

[flang] Defer NAMELIST group item name resolution
ClosedPublic

Authored by klausler on Apr 13 2022, 1:05 PM.

Details

Summary

Items in NAMELIST groups might be host-associated implicitly-typed
variables, but name resolution can't know that when the NAMELIST
appears in a specification part and the host's execution part has
not yet been analyzed. So defer NAMELIST group item name resolution
to the end of the execution part. This is safe because nothing
else in name resolution depends on whether a variable is in a
NAMELIST group or not.

Diff Detail

Event Timeline

klausler created this revision.Apr 13 2022, 1:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 1:05 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Apr 13 2022, 1:05 PM
vdonaldson accepted this revision.Apr 13 2022, 3:09 PM
This revision is now accepted and ready to land.Apr 13 2022, 3:09 PM
This revision was automatically updated to reflect the committed changes.