Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Impose DATA initialization size limit to avoid crashing
Impose a large but finite limit on the size of a variable being initialized in a DATA statement to provide a readable error message for artificial test cases that's better than a memory allocation failure crash. Differential Revision: https://reviews.llvm.org/D140146
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 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