https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34849
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail| |
Resolution|--- |FIXED
Target Milestone|--- |11.0
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This was fixed on the gimple level by the following revisions:
r7-1935 (pre of the res_11(D) + _7 part)
r11-408 (common store sinking)
Loop which we get now:
.L4:
ldr r0, [r1], #4
cmp r0, #0
ite eq
moveq r3, r4
movne r3, lr
cmp r1, ip
str r3, [r2, #4]!
bne .L4