[PATCH] D83063: [flang] Fix bug determining alternate return
Tim Keith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 12:26:00 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG70f2bcc197eb: [flang] Fix bug determining alternate return (authored by tskeith).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83063/new/
https://reviews.llvm.org/D83063
Files:
flang/lib/Semantics/expression.cpp
Index: flang/lib/Semantics/expression.cpp
===================================================================
--- flang/lib/Semantics/expression.cpp
+++ flang/lib/Semantics/expression.cpp
@@ -2018,7 +2018,7 @@
CHECK(proc);
if (CheckCall(call.source, *proc, callee->arguments)) {
bool hasAlternateReturns{
- analyzer.GetActuals().size() < actualArgList.size()};
+ callee->arguments.size() < actualArgList.size()};
callStmt.typedCall.reset(new ProcedureRef{std::move(*proc),
std::move(callee->arguments), hasAlternateReturns});
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83063.275194.patch
Type: text/x-patch
Size: 602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200702/da41521a/attachment.bin>
More information about the llvm-commits
mailing list