This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix spurious "already declared" errors for interfaces
ClosedPublic

Authored by klausler on Jun 2 2021, 5:35 PM.

Details

Summary

When a subroutine or function symbol is defined in an INTERFACE
block, it's okay if a symbol of the same name appears in a
scope between the global scope and the scope of the INTERFACE.

Diff Detail

Event Timeline

klausler created this revision.Jun 2 2021, 5:35 PM
klausler requested review of this revision.Jun 2 2021, 5:35 PM
PeteSteinfeld accepted this revision.Jun 2 2021, 7:55 PM
PeteSteinfeld added a subscriber: PeteSteinfeld.

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jun 2 2021, 7:55 PM
jeanPerier accepted this revision.Jun 3 2021, 6:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2021, 3:31 PM