https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98709
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Depends on| |101706 Last reconfirmed| |2021-08-01 Component|middle-end |tree-optimization Status|UNCONFIRMED |NEW Severity|normal |enhancement --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. I noticed the ~(a^b) issue the other day (not even knowing about this bug) and filed PR 101706 for that :) Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101706 [Bug 101706] bool0^bool1^1 -> bool0 == bool1