[flang-commits] [PATCH] D110853: [flang] Take into account SubprogramDetails in GetInterfaceSymbol
Jean Perier via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Sep 30 14:07:04 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG962e503cc8bc: [flang] Take into account SubprogramDetails in GetInterfaceSymbol (authored by jeanPerier).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110853/new/
https://reviews.llvm.org/D110853
Files:
flang/lib/Evaluate/call.cpp
Index: flang/lib/Evaluate/call.cpp
===================================================================
--- flang/lib/Evaluate/call.cpp
+++ flang/lib/Evaluate/call.cpp
@@ -123,6 +123,8 @@
} else if (const auto *binding{
ultimate.detailsIf<semantics::ProcBindingDetails>()}) {
return &binding->symbol();
+ } else if (ultimate.has<semantics::SubprogramDetails>()) {
+ return &ultimate;
}
}
return nullptr;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110853.376361.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210930/99ee7195/attachment.bin>
More information about the flang-commits
mailing list