[all-commits] [llvm/llvm-project] 815fdd: [flang] Impose DATA initialization size limit to a...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Sat Dec 17 07:27:57 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 815fddfa1782ac2bb416f6c878e0c0c7f4f3575f
https://github.com/llvm/llvm-project/commit/815fddfa1782ac2bb416f6c878e0c0c7f4f3575f
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-12-17 (Sat, 17 Dec 2022)
Changed paths:
M flang/lib/Semantics/data-to-inits.cpp
M flang/lib/Semantics/expression.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list