Thanks for checking that; I fixed it (at least on Fedora i686 --with-wide-int) by installing the attached patch into master. I'll check the same platform on the Bug#31750 proposed patches before installing them, as these patches are doing related (but more-significant) changes to stack and heap allocation in the Emacs Lisp interpreter.