https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107491
--- Comment #11 from Jakub Kulik <jakub.kulik at oracle dot com> --- So, I looked into it and with the patch attached above seems to work as expected. Stack can be resized like this `GODEBUG=minstacksize=32 ./test`.