https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118538
--- Comment #16 from Disservin <disservin.social at gmail dot com> --- Since the reproduction involves a fairly large array, I checked my configured stack size on the system, which is 8MiB. It also segfaults with a lower value for N like 800, but if I go down to like 500, I get the expected "terminate called.." ulimit -a -t: cpu time (seconds) unlimited -f: file size (blocks) unlimited -d: data seg size (kbytes) unlimited -s: stack size (kbytes) 8192 ...