[flang-commits] [PATCH] D88075: [flang] CHARACTER(*) return does not require explicit interface
Jean Perier via Phabricator via flang-commits
flang-commits at lists.llvm.org
Wed Sep 23 04:38:57 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGbd72ed93d22a: [flang] CHARACTER(*) return does not require explicit interface (authored by jeanPerier).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88075/new/
https://reviews.llvm.org/D88075
Files:
flang/lib/Evaluate/characteristics.cpp
Index: flang/lib/Evaluate/characteristics.cpp
===================================================================
--- flang/lib/Evaluate/characteristics.cpp
+++ flang/lib/Evaluate/characteristics.cpp
@@ -485,6 +485,8 @@
if (const auto *param{type.charLength()}) {
if (const auto &expr{param->GetExplicit()}) {
return IsConstantExpr(*expr); // 15.4.2.2(4)(c)
+ } else if (param->isAssumed()) {
+ return true;
}
}
return false;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88075.293696.patch
Type: text/x-patch
Size: 508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20200923/277045e5/attachment.bin>
More information about the flang-commits
mailing list