[Bug tree-optimization/109806] [13/14 Regression] 13.1.0 cc1plus stack smashing crash with C array of complex structs
sjames at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 15 22:35:22 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109806
--- Comment #14 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Alexander Monakov from comment #13)
> The 128KB stack size is for *secondary* threads on musl (i.e. those created
> via pthread_create). The main thread has the same stack as on glibc (GCC
> extends it to 128MB unless there's a hard limit).
To be fair, I didn't know if gcc did everything in a single thread. Thanks.
>
> This doesn't look like a stack exhaustion and should be a separate bug.
I asked on IRC and was pointed here rather than file a dupe, but I'll file one
now in that case.
More information about the Gcc-bugs
mailing list