https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89263
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization CC| |pinskia at gcc dot gnu.org --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I thought I have this one filed before but I can't find it. Basically we need to convert a != 0 ? true : b != 0 into a != 0 | b != 0 which then will be a | b as != is not needed for boolean types.