https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115474
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Here is a few more: ``` int func(bool a, bool b) { bool t = b < a; return t | a; // a } int func1(bool a, bool b) { bool t = b < a; bool t1 = t < a; return t | t1; // a } int func2(bool a, bool b) { bool t = b > a; return t | a; // b | a } int func3(bool a, bool b) { bool t = b > a; bool t1 = t < a; return t | t1; // b | a } ```