[flang-commits] [PATCH] D155968: [flang] Catch case of character array constructor with indeterminable length

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Jul 21 08:30:37 PDT 2023


klausler created this revision.
klausler added a reviewer: clementval.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.

F'2023 7.8 para 5 requires that an implied DO loop with no iterations
in a character array constructor should have items whose lengths are
constant expressions independent of the value of the implied DO loop
index.


https://reviews.llvm.org/D155968

Files:
  flang/lib/Semantics/expression.cpp
  flang/test/Semantics/array-constr-len.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155968.542937.patch
Type: text/x-patch
Size: 4614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230721/ce7c3095/attachment-0001.bin>


More information about the flang-commits mailing list