[Bug tree-optimization/107881] (a <= b) == (b >= a) should be optimized to (a == b)
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 26 18:20:01 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107881
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2022-11-26
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reassociation is what does it for the `&` case:
Equivalence: t1_4 & t_3 -> b_1(D) == a_2(D)
Transforming _6 = t_3 & t1_4;
into _6 = _7;
More information about the Gcc-bugs
mailing list