[flang-commits] [flang] [flang] Fix for runtime crash for huge local array (PR #205270)
Ron Green [NVIDIA] via flang-commits
flang-commits at lists.llvm.org
Tue Jun 23 09:52:06 PDT 2026
ronGreenNV wrote:
I worry about Windows limitations. Isn't "Global" stored in the object file's static section? In the Win32/Win64 architecture, Windows restricts the size of the program source code and statically allocated memory.Limit: The static data limit for applications is 2 GB. This applies to both 32-bit and 64-bit programs. Statically declared data and program source codes cannot exceed this. Dynamic data allocations, however, can reach up to 8 TB on 64-bit platforms.
Storing on HEAP is what we want, not global static.
https://github.com/llvm/llvm-project/pull/205270
More information about the flang-commits
mailing list