[Bug middle-end/23673] fold does not fold (a^b) != 0 to a != b

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Dec 2 18:12:00 GMT 2005



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-12-02 18:12 -------
ok, I have a fix without rewritting some of fold_binary.  I just needed to
added a check for BIT_XOR_EXPR comming back, like invert_expr does.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23673



More information about the Gcc-bugs mailing list