This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow for host association in ConvertTo(Object|Proc)Entity
ClosedPublic

Authored by klausler on Apr 27 2022, 10:52 AM.

Details

Summary

Name resolution fails with a bogus "is not a variable" error message
when a host-associated object appears in a NAMELIST group. The root
cause is that ConvertToObjectEntity() returns false for host-associated
objects. Fix that, and also apply a similar fix to ConvertToProcEntity()
nearby.

Diff Detail

Event Timeline

klausler created this revision.Apr 27 2022, 10:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2022, 10:52 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Apr 27 2022, 10:52 AM
vdonaldson accepted this revision.Apr 27 2022, 10:58 AM
This revision is now accepted and ready to land.Apr 27 2022, 10:58 AM