[all-commits] [llvm/llvm-project] 59f095: [flang] Handle empty array references in DATA stat...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Jun 27 13:29:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 59f0959ba4ef43829a128f42e68fb9f08709a3cf
https://github.com/llvm/llvm-project/commit/59f0959ba4ef43829a128f42e68fb9f08709a3cf
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M flang/lib/Evaluate/fold-designator.cpp
M flang/test/Semantics/data05.f90
Log Message:
-----------
[flang] Handle empty array references in DATA statements
When an array reference in a DATA statement is empty due to an
empty vector subscript or a section lower bound being higher than
its upper bound with a positive stride (or lower with negative),
ensure that isEmpty() is correct afterwards so that such an empty
array reference doesn't terminate processing of that DATA statement
block.
Fixes https://github.com/llvm/llvm-project/issues/63512.
Differential Revision: https://reviews.llvm.org/D153799
More information about the All-commits
mailing list