https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70341
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2016-03-23 00:00:00 |2026-2-2
--- Comment #27 from Richard Biener <rguenth at gcc dot gnu.org> ---
I see now, so re-confirming (it looks even worse).
test:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
add r3, r0, r1, lsl #4
ldr r3, [r3, #4]
ldr r2, .L9
sub r3, r3, #1
cmp r3, #3
bhi .L1
ldrb r3, [r2, r3]
add pc, pc, r3, lsl #2
.Lrtx4:
nop
.section .rodata
.L4:
.byte (.L7-.Lrtx4-4)/4
.byte (.L6-.Lrtx4-4)/4
.byte (.L5-.Lrtx4-4)/4
.byte (.L3-.Lrtx4-4)/4
.text
.p2align 2
.L3:
add r0, r0, r1, lsl #4
ldr r0, [r0, #8]
b handle_case_4
.L5:
add r0, r0, r1, lsl #4
ldr r0, [r0, #8]
b handle_case_3
.L6:
add r0, r0, r1, lsl #4
ldr r0, [r0, #8]
b handle_case_2
.L7:
add r0, r0, r1, lsl #4
ldr r0, [r0, #8]
b handle_case_1
.L1:
bx lr
.L10:
.align 2
.L9:
.word .L4
.size test, .-test