[flang-commits] [PATCH] D150721: [flang] Correct overriding (or not) of inaccessible bindings
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Tue May 16 13:46:54 PDT 2023
klausler created this revision.
klausler added a reviewer: clementval.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, mehdi_amini, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.
Fortran doesn't allow inaccessible procedure bindings to be
overridden, and this needs to apply to generic resolution.
When resolving a type-bound generic procedure from another
module, ensure only that the most extended override from its
module is used if it is PRIVATE, not a later apparent override
from another module.
https://reviews.llvm.org/D150721
Files:
flang/include/flang/Semantics/symbol.h
flang/lib/Lower/Bridge.cpp
flang/lib/Lower/ConvertCall.cpp
flang/lib/Semantics/expression.cpp
flang/lib/Semantics/runtime-type-info.cpp
flang/lib/Semantics/symbol.cpp
flang/lib/Semantics/tools.cpp
flang/test/Semantics/bindings05.f90
flang/test/Semantics/bindings06.f90
flang/test/Semantics/bindings07.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150721.522771.patch
Type: text/x-patch
Size: 23716 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230516/47451676/attachment-0001.bin>
More information about the flang-commits
mailing list