https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109925
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- -fstack-reuse=none fixes this, the testcase looks similar to PR109967.
rguenth at gcc dot gnu.org via Gcc-bugs Thu, 25 May 2023 23:34:01 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109925
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- -fstack-reuse=none fixes this, the testcase looks similar to PR109967.