This is an archive of the discontinued LLVM Phabricator instance.

[flang] Be more persistent in search for non-intrinsic module file
ClosedPublic

Authored by klausler on Aug 18 2022, 11:24 AM.

Details

Summary

When a particular module name has been brought into a compilation
as an intrinsic module via USE,INTRINSIC, perhaps indirectly via
an enclosing USE statement, f18 will resolve later USE statements
to it unless they are USE,NON_INTRINSIC. This is not entirely
correct -- a bare USE statement for a module name that happens to
match that of an intrinsic module should still search the search
paths for a non-intrinsic module file of the same name.

Diff Detail

Event Timeline

klausler created this revision.Aug 18 2022, 11:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2022, 11:24 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 18 2022, 11:24 AM
vdonaldson accepted this revision.Aug 18 2022, 11:46 AM
This revision is now accepted and ready to land.Aug 18 2022, 11:46 AM