[flang-commits] [PATCH] D109918: [flang] Validate SIZE(x, DIM=n) dimension for assumed-size array x
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Sep 16 13:21:25 PDT 2021
klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.
Catch invalid attempts to extract the unknowable extent of the last
dimension of an assumed-size array dummy argument, and clean up
problems with assumed-rank arguments in similar circumstances
exposed by testing the fix.
https://reviews.llvm.org/D109918
Files:
flang/include/flang/Evaluate/tools.h
flang/include/flang/Semantics/tools.h
flang/lib/Evaluate/fold-integer.cpp
flang/lib/Evaluate/formatting.cpp
flang/lib/Evaluate/shape.cpp
flang/lib/Evaluate/tools.cpp
flang/lib/Evaluate/variable.cpp
flang/lib/Semantics/check-select-rank.cpp
flang/test/Semantics/select-rank.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109918.373052.patch
Type: text/x-patch
Size: 8494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210916/79a7c3e2/attachment.bin>
More information about the flang-commits
mailing list