2015-07-01 Richard Biener <rguenther@suse.de>
commit486bdb6ad9baff5ded41604b719de93d73a2e7ce
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jul 2015 07:42:10 +0000 (1 07:42 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jul 2015 07:42:10 +0000 (1 07:42 +0000)
tree06bc5789da51629911c3c7b5192a9b241054aaf7
parent9585883595217157c02cc0f10e500bbfcc72f31b
2015-07-01  Richard Biener  <rguenther@suse.de>

* fold-const.c (fold_binary_loc): Move ~X ^ X -> -1 and
(X & Y) ^ Y -> ~X & Y transforms to ...
* match.pd: ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225225 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/match.pd