This is an archive of the discontinued LLVM Phabricator instance.

[flang] Accept unambiguous USE name clashes
ClosedPublic

Authored by klausler on Aug 25 2022, 10:50 AM.

Details

Summary

When, due to one or more USE associations, possibly with renaming,
a symbol conflicts with another of the same name in the same scope,
don't raise an error if both symbols resolve to the same intrinsic
procedure or to the same non-generic external procedure interface --
the usage is unambiguous and safe, and (14.2.2 p8) standard.

(Generic interfaces already work by way of combining their sets of
specific procedures.)

Diff Detail

Event Timeline

klausler created this revision.Aug 25 2022, 10:50 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 25 2022, 10:50 AM
jeanPerier accepted this revision.Aug 25 2022, 2:31 PM
This revision is now accepted and ready to land.Aug 25 2022, 2:31 PM
This revision was automatically updated to reflect the committed changes.