http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15256
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rguenth at gcc dot gnu.org |pinskia at gcc dot gnu.org --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-15 07:47:54 UTC --- First we want to fold "(eax & 1) ^ 1" into "(~eax) & 1)" and then we can fold: "(eax_1 & ~N) | (~eax_1 & N)" into eax ^ N .