https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64082
Joey Ye <joey.ye at arm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joey.ye at arm dot com --- Comment #1 from Joey Ye <joey.ye at arm dot com> --- Code sequence from trunk 20160705 is as following: bar: stp x29, x30, [sp, -48]! add x29, sp, 0 stp x19, x20, [sp, 16] add x19, x29, 32 mov w20, w0 mov x0, x19 bl g ldrb w0, [x19, w20, sxtw] bl f ldp x19, x20, [sp, 16] ldp x29, x30, [sp], 48 Apparantly issue described in this ticket has been resolved, probably by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62173. Resolved.