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