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



Richard Biener <rguenth at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

           Keywords|                            |missed-optimization

             Status|UNCONFIRMED                 |NEW

   Last reconfirmed|                            |2013-02-04

          Component|rtl-optimization            |tree-optimization

     Ever Confirmed|0                           |1

           Severity|normal                      |enhancement



--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> 2013-02-04 
10:10:31 UTC ---

This should be fixed on the GIMPLE level by simplify_bitwise_binary.  That is,

(A & C) ^ (B & C) -> (A ^ B) & C for all code combinations and C's that this

is valid for.  fold doesn't seem to have this complex pattern.

Reply via email to