[flang-commits] [PATCH] D117700: [flang] Accept INDEX(..., BACK=array)
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Wed Jan 19 17:54:18 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG78649a8499a0: [flang] Accept INDEX(..., BACK=array) (authored by klausler).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117700/new/
https://reviews.llvm.org/D117700
Files:
flang/lib/Evaluate/intrinsics.cpp
flang/test/Evaluate/folding05.f90
Index: flang/lib/Evaluate/intrinsics.cpp
===================================================================
--- flang/lib/Evaluate/intrinsics.cpp
+++ flang/lib/Evaluate/intrinsics.cpp
@@ -486,7 +486,7 @@
{"image_status", {{"image", SameInt}, OptionalTEAM}, DefaultInt},
{"index",
{{"string", SameChar}, {"substring", SameChar},
- {"back", AnyLogical, Rank::scalar, Optionality::optional},
+ {"back", AnyLogical, Rank::elemental, Optionality::optional},
DefaultingKIND},
KINDInt},
{"int", {{"a", AnyNumeric, Rank::elementalOrBOZ}, DefaultingKIND}, KINDInt},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117700.401462.patch
Type: text/x-patch
Size: 626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220120/e0a03fa9/attachment.bin>
More information about the flang-commits
mailing list