https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56096
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Daniel Henrique Barboza from comment #5) > According to godbolt this is the generated asm for trunk: You are looking into aarch64 code generation while the original issue was reported against arm (aarch32). From: https://godbolt.org/z/cKEsa5o6c ``` f1: ldr r3, .L3 tst r1, r3 movne r3, #1 moveq r3, #0 lsl r3, r3, #3 lsr r0, r0, r3 bx lr ```
