https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94804
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ra --- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> --- Gcc's register allocation is not well optimized for hard registers at function boundaries (inlining makes this case not very important), there are several related bug reports. It would be nice to improve that, but it is likely to get lower priority than if you can find a similar issue in the middle of a hot loop.