fold-const.c (fold_widened_comparison): Remove.
authorRichard Biener <rguenther@suse.de>
Thu, 16 Jul 2015 08:28:51 +0000 (08:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 16 Jul 2015 08:28:51 +0000 (08:28 +0000)
commit79d4f7c66e9c8462aee46a3488f589969851bd80
tree808b6ca01568ad4ba625da0b59f16015a8fded59
parent612b9d1364bbefb708245c6cd5b5bfa2718926e6
fold-const.c (fold_widened_comparison): Remove.

2015-07-16  Richard Biener  <rguenther@suse.de>

* fold-const.c (fold_widened_comparison): Remove.
(fold_sign_changed_comparison): Likewise.
(fold_comparison): Move widened and sign-changed comparison
simplification ...
* match.pd: ... to patterns here.
* generic-match-head.c: Include target.h.
* gimple-match-head.c: Likewise.

* gcc.dg/tree-ssa/pr21031.c: Adjust.

From-SVN: r225861
gcc/ChangeLog
gcc/fold-const.c
gcc/generic-match-head.c
gcc/gimple-match-head.c
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr21031.c