https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111148
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The one which I had missed: _Bool f(int x, int y, int w, int z) { _Bool a = z == w; _Bool b = x == y; return (a & !b) | (a ^ b); // a ^ b }