https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Actually: ``` (for (op plus bit_ior bit_xor) (simplify (op (cond @0 @1 integer_zero_p) (cond @2 @3 integer_zero_p)) (with { bool wascmp; } (if (bitwise_inverted_equal_p (@0, @2, wascmp)) (cond @0 @1 @3) ) ) ) ) ``` Should fix this. Well that replaces the pattern that was added in r13-4620-g4d9db4bdd458 and extends it to for plus and bit_xor.