https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89954
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |x86_64-linux-gnu Status|UNCONFIRMED |NEW Last reconfirmed| |2019-04-04 Component|c |target Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Though AARCH64 does the right thing though: f: adrp x0, c ldrb w0, [x0, #:lo12:c] eor w0, w0, 1 ret