https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70335
Julien Margetts <jmargetts at ocz dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Julien Margetts <jmargetts at ocz dot com> --- Many apologies. This is a bug in my target simulator! I saw the initial sign extended byte load in the ASM output, and suspected this was a compiler error: cmp r0, #66 movhi r2, #18 movhi r0, #0 ldrls r3, .L5 ldrsbls r0, [r3, r0]! << HERE ldr r1, .L5+4 ldrbls r2, [r3, #68] @ zero_extendqisi2 ldr r3, .L5+8 str r0, [r1] This is resolved as invalid. Sorry for wasting your time