[all-commits] [llvm/llvm-project] 689de4: [flang] Apply default module accessibility rules a...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue May 16 10:19:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 689de4c6759fa810d827aee06a0ab060b01172ce
      https://github.com/llvm/llvm-project/commit/689de4c6759fa810d827aee06a0ab060b01172ce
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Semantics/symbol.h
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/symbol.cpp
    A flang/test/Semantics/symbol26.f90

  Log Message:
  -----------
  [flang] Apply default module accessibility rules a second time (bug#62598)

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.

Differential Revision: https://reviews.llvm.org/D150307




More information about the All-commits mailing list