diff options
author | Richard Biener <rguenther@suse.de> | 2015-06-30 12:54:23 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-06-30 12:54:23 +0000 |
commit | 5b00d9211625c18148d3bacdc53c9f527557d063 (patch) | |
tree | 7e4f56c61f58f687a011e0281c78065412309004 /libcpp/macro.c | |
parent | d62808554d8dbbedb11a2d51a75d618f396c1198 (diff) | |
download | gcc-5b00d9211625c18148d3bacdc53c9f527557d063.zip gcc-5b00d9211625c18148d3bacdc53c9f527557d063.tar.gz gcc-5b00d9211625c18148d3bacdc53c9f527557d063.tar.bz2 |
fold-const.c (fold_binary_loc): Move ~x & ~y -> ~(x | y) and ~x | ~y -> ~(x & y)...
2015-06-30 Richard Biener <rguenther@suse.de>
* fold-const.c (fold_binary_loc): Move ~x & ~y -> ~(x | y) and
~x | ~y -> ~(x & y), (x & CST) ^ (x & CST2) -> (x & CST) | (x & CST2),
(X | Y) ^ X -> Y & ~ X, ~X ^ ~Y to X ^ Y and ~X ^ C to X ^ ~C ...
* match.pd: ... to patterns here.
From-SVN: r225184
Diffstat (limited to 'libcpp/macro.c')
0 files changed, 0 insertions, 0 deletions