diff options
author | peter klausler <pklausler@nvidia.com> | 2020-06-19 18:11:46 -0700 |
---|---|---|
committer | peter klausler <pklausler@nvidia.com> | 2020-06-22 09:45:30 -0700 |
commit | 16d24e45430c930e8f5f0aedc99b262fcdf35d26 (patch) | |
tree | 76e36eb655828bd739b5c8d733eb726e245818cd /flang/lib/Semantics/check-call.cpp | |
parent | 1728dec255a5336303b301e26ec22eca2000b593 (diff) | |
download | llvm-16d24e45430c930e8f5f0aedc99b262fcdf35d26.zip llvm-16d24e45430c930e8f5f0aedc99b262fcdf35d26.tar.gz llvm-16d24e45430c930e8f5f0aedc99b262fcdf35d26.tar.bz2 |
[flang] Shape analysis for result of MATMUL
Implement shape analysis for the result of the MATMUL
generic transformational intrinsic function, based on
the shapes of its arguments. Correct the names of the
arguments to match the standard, too.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D82250
Diffstat (limited to 'flang/lib/Semantics/check-call.cpp')
-rw-r--r-- | flang/lib/Semantics/check-call.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/flang/lib/Semantics/check-call.cpp b/flang/lib/Semantics/check-call.cpp index 282a877..8c3810c 100644 --- a/flang/lib/Semantics/check-call.cpp +++ b/flang/lib/Semantics/check-call.cpp @@ -607,7 +607,8 @@ static void CheckExplicitInterfaceArg(evaluate::ActualArgument &arg, // ok } else { messages.Say( - "Actual argument is not a variable or typed expression"_err_en_US); + "Actual argument '%s' associated with %s is not a variable or typed expression"_err_en_US, + expr->AsFortran(), dummyName); } } else { const Symbol &assumed{DEREF(arg.GetAssumedTypeDummy())}; |