re PR tree-optimization/64126 (FAIL: gcc.dg/pr37289.c scan-tree-dump original "-...
authorRichard Biener <rguenther@suse.de>
Mon, 1 Dec 2014 13:08:10 +0000 (13:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 1 Dec 2014 13:08:10 +0000 (13:08 +0000)
commite19740aef3f3c7c07c67e59560ef96e31e9bff96
treec3503f339e15ee5b38b97e471ef1351b57ae324d
parent9df0192130fd054a9edf84884ca7bbccf8f7679a
re PR tree-optimization/64126 (FAIL: gcc.dg/pr37289.c scan-tree-dump original "-\\(long unsigned int\\) x")

2014-12-01  Richard Biener  <rguenther@suse.de>

PR middle-end/64126
* match.pd: Allow conversions in ~A + 1 -> -A, add -A - 1 -> ~A
and -1 - A -> ~A.
* fold-const.c (fold_binary_loc): Remove transforms here.

From-SVN: r218210
gcc/ChangeLog
gcc/fold-const.c
gcc/match.pd