https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91882 Bug 91882 depends on bug 103356, which changed state.
Bug 103356 Summary: bool0 == ~bool1 should simplify to bool1 ^ bool0 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103356 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED