https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113072
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=111149 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like bool sometimes produces != or ^ :) ``` bool foo(bool a, int b) { bool b1 = b == 1; bool b2 = !b1; bool c = (a ^ b1); return c & (a ^ b2); } ``` Though that is PR 111149 .