[flang-commits] [flang] [flang] Fix for runtime crash for huge local array (PR #205270)
via flang-commits
flang-commits at lists.llvm.org
Tue Jun 23 22:08:20 PDT 2026
ejose02 wrote:
Thanks for the review.
I agree that static storage is a poor fit on Windows above the ~2 GiB limit. I also see that -mllvm -fstack-array-size already moves oversized stack arrays to the heap, which avoids both issues.
I’m checking internally whether we should pursue a follow-up that improves the default heap path (e.g. byte-based threshold) via an RFC on Discourse, as suggested or document the existing flag for now.
Thanks again for the guidance.
https://github.com/llvm/llvm-project/pull/205270
More information about the flang-commits
mailing list