-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 #63512. Differential Revision: https://reviews.llvm.org/D153799
- Loading branch information
Showing
2 changed files
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters