[flang-commits] [PATCH] D150307: [flang] Apply default module accessibility rules a second time (bug#62598)

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed May 10 14:15:43 PDT 2023


klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.

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.


https://reviews.llvm.org/D150307

Files:
  flang/docs/Extensions.md
  flang/include/flang/Semantics/symbol.h
  flang/lib/Semantics/resolve-names.cpp
  flang/lib/Semantics/symbol.cpp
  flang/test/Semantics/symbol26.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150307.521102.patch
Type: text/x-patch
Size: 4802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230510/41a871c9/attachment-0001.bin>


More information about the flang-commits mailing list