[flang-commits] [flang] [flang] Fix issues with STORAGE_SIZE and characters (PR #67561)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Wed Sep 27 07:56:33 PDT 2023


================
@@ -836,4 +836,15 @@ bool IsCUDAIntrinsicType(const DynamicType &type) {
   }
 }
 
+DynamicType DynamicType::DropNonConstantParameters() const {
+  if (charLengthParamValue_ && charLengthParamValue_->isExplicit()) {
+    if (std::optional<std::int64_t> len = knownLength()) {
----------------
klausler wrote:

Initialize with braces, please.

https://github.com/llvm/llvm-project/pull/67561


More information about the flang-commits mailing list