[flang-commits] [PATCH] D109547: [flang] Add runtime interface for NUM_IMAGES

Craig E Rasmussen via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Sep 16 15:13:40 PDT 2021


craig.rasmussen added a comment.

Hopefully this will open the issue and is the correct way to correct a push that was reverted.

Note comment on line 97 of flang/include/flang/Evaluate/tools.h.  This fixes link error for shared libraries.



================
Comment at: flang/include/flang/Evaluate/tools.h:97
+  if (const auto *symbol{std::get_if<SymbolRef>(&designator.u)}) {
+    return symbol->get().Corank() > 0;
+  }
----------------
This line inlined from semantics::IsCoarray.  This was only change needed to fix link error.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109547/new/

https://reviews.llvm.org/D109547



More information about the flang-commits mailing list