match.pd (swapped_tcc_comparison): New operator list.
authorMarc Glisse <marc.glisse@inria.fr>
Tue, 26 May 2015 11:14:16 +0000 (13:14 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Tue, 26 May 2015 11:14:16 +0000 (11:14 +0000)
commit534bd33b61d08e0bf4d58efbeb3da5a368f8a247
treed7b381032a45d7b3441c2f5139e9c9af5a65d583
parentc3dc5e6654a2911c955eb9371ed7d6e5c2d1a174
match.pd (swapped_tcc_comparison): New operator list.

2015-05-26  Marc Glisse  <marc.glisse@inria.fr>

* match.pd (swapped_tcc_comparison): New operator list.
(-A CMP -B): New simplification.
* fold-const.c (fold_comparison): Remove corresponding code.

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