[flang-commits] [PATCH] D156341: [flang] Cope with homonymous generic/specific in generic resolution
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Mon Jul 31 14:39:41 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfa4a304d5147: [flang] Cope with homonymous generic/specific in generic resolution (authored by klausler).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156341/new/
https://reviews.llvm.org/D156341
Files:
flang/lib/Semantics/expression.cpp
Index: flang/lib/Semantics/expression.cpp
===================================================================
--- flang/lib/Semantics/expression.cpp
+++ flang/lib/Semantics/expression.cpp
@@ -2434,7 +2434,8 @@
}
}
if (const auto *details{ultimate.detailsIf<semantics::GenericDetails>()}) {
- for (const Symbol &specific : details->specificProcs()) {
+ for (const Symbol &specific0 : details->specificProcs()) {
+ const Symbol &specific{BypassGeneric(specific0)};
if (isSubroutine != !IsFunction(specific)) {
continue;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156341.545813.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230731/9d5aa3f1/attachment.bin>
More information about the flang-commits
mailing list