https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119509
--- Comment #1 from Nick Hudson <skrll at netbsd dot org> --- a32 seems similarly affected foo: bic r0, r0, #-16777216 bic r0, r0, #255 cmp r0, #255 movls r0, #0 movhi r0, #1 bx lr Could be foo: bic r0, r0, #-16777216 bics r0, r0, #255 movne r0, #1 bx lr