https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88160
--- Comment #4 from Vincent Riviere <vincent.riviere at freesbee dot fr> --- Created attachment 55647 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55647&action=edit Workaround for compiling libgcc with -mcpu=5475 -mshort Here is a patch for GCC 13.1.0. It allows libgcc to be compiled with -mcpu=5475 -mshort. As a workaround, it uses -fno-combine-stack-adjustments on the impacted functions. __attribute__((optimize("-fno-combine-stack-adjustments"))) Of course, it would be much better to fix the root of the issue.