https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88656
--- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- (In reply to gerd from comment #2) > Could it be that this is a duplicate of bug 88167? > > I compiled a gcc 7.4.0 patched with the fix for 88167 and now get this > result: > > push {r4, lr} > mov r3, r8 > mov r4, r9 > push {r3, r4} > mov r0, lr > > The patch for bug 88167 seems to be just in trunk for now. As the problem is > a regression in all releases till gcc 7 I'd prefer if it could be backported > into the corresponding branches. A regression is not a bug that applies in all previous releases. A regression is where something worked in some previous releases but does not work now.