[flang-commits] [PATCH] D114134: [flang] Add evaluation for the collective intrinsic, co_sum

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Nov 18 08:12:08 PST 2021


klausler added inline comments.


================
Comment at: flang/lib/Evaluate/intrinsics.cpp:1044
+    {"co_sum",
+        {{"a", AnyNumeric, Rank::elemental, Optionality::required,
+             common::Intent::InOut},
----------------
"A=", "STAT=", and "ERRMSG=" are not allowed to be coindexed objects (16.9.50); how will you enforce and test this restriction?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114134



More information about the flang-commits mailing list