This is an archive of the discontinued LLVM Phabricator instance.

[flang] Apply default module accessibility rules a second time (bug#62598)
ClosedPublic

Authored by klausler on May 10 2023, 2:15 PM.

Details

Summary

Apply the default PUBLIC/PRIVATE accessibility of a module to its symbols
a second time after it is known that all symbols, including implicitly typed
names from NAMELIST groups and specification expressions in module subprograms,
have been created in its scope.

Fixes https://github.com/llvm/llvm-project/issues/62598.

Diff Detail

Event Timeline

klausler created this revision.May 10 2023, 2:15 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.May 10 2023, 2:15 PM
PeteSteinfeld accepted this revision.May 10 2023, 2:39 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.May 10 2023, 2:39 PM