[flang-commits] [PATCH] D142943: [flang] More subscript triplet checking at compilation time

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Jan 30 17:04:45 PST 2023


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

When a triplet's lower and upper bounds are the same, we can
check them without requiring a constant stride.


https://reviews.llvm.org/D142943

Files:
  flang/lib/Semantics/expression.cpp
  flang/test/Semantics/expr-errors06.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142943.493454.patch
Type: text/x-patch
Size: 3672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230131/79e7a369/attachment.bin>


More information about the flang-commits mailing list