https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49421
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
Known to work| |5.4.0
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed since at least GCC 5.
lr is the only thing pushed/poped:
str lr, [sp, #-4]!
...
ldr pc, [sp], #4
.L7:
mov r0, #1
ldr pc, [sp], #4
