[flang-commits] [flang] [flang] Fix for runtime crash for huge local array (PR #205270)

via flang-commits flang-commits at lists.llvm.org
Thu Jun 25 03:06:35 PDT 2026


ejose02 wrote:

Thanks again for the review.
I agree the static-storage approach isn’t the right direction here. I’ll use the existing workaround -mllvm -fstack-array-size=N instead, which moves large local arrays to the heap.

Closing this PR. If we revisit improving the default heap path upstream (byte-based threshold), we’ll follow up separately, likely starting with an RFC on Discourse as suggested.

https://github.com/llvm/llvm-project/pull/205270


More information about the flang-commits mailing list