[Bug rtl-optimization/42835] Missed merging common code sequence at the end of two basic blocks
ramana at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 1 01:05:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42835
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ramana at gcc dot gnu.org
--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-02-01 01:04:59 UTC ---
Bernd, can this now be marked as fixed for 4.6.0 ?
Ramana
Trunk today generates for the options provided the following sequence of code.
cmp r1, #0
bge .L2
ldr r0, [r0, #0]
cmp r0, #1
b .L5
.L2:
beq .L4
ldr r0, [r0, #0]
cmp r0, #2
.L5:
ite ne
movne r0, #0
moveq r0, #1
bx lr
.L4:
mov r0, r1
bx lr
More information about the Gcc-bugs
mailing list