https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107491
--- Comment #12 from Jakub Kulik <jakub.kulik at oracle dot com> --- One thing that is still slightly limiting is that the stack size cannot be changed e.g. for individual tests when running the libgo test suite. It might be nice to have some exported interface, such as the already existing SetMaxStack() [1], although I do understand that that would be a bigger change and would make the code using it golang incompatible, which might be a problem. There is probably not much to do about this - I just wanted to mention this limitation. [1] https://pkg.go.dev/runtime/debug#SetMaxStack