https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105832
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org --- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #10) > I think the simple way of fixing this is optimizing: > ``` > bool f(int g) > { > return (1 >> g) != 0; > } > ``` > into > ``` > bool f0(int g) > { > return g == 0; > } > ``` I am going to do the above.