Move X==15-X to match.pd
authorMarc Glisse <marc.glisse@inria.fr>
Thu, 18 May 2017 11:05:55 +0000 (13:05 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Thu, 18 May 2017 11:05:55 +0000 (11:05 +0000)
commit8b656ca7ea26bb53e6058c10c0016e080c39930c
treebad2b7bb3b9a02a1e6c6b9b76e1d5f4956ef07ed
parente3455240edf5c8fa4ee4ee73219b35ce1265b076
Move X==15-X to match.pd

2017-05-18  Marc Glisse  <marc.glisse@inria.fr>

* fold-const.c (fold_binary_loc): Move transformation...
* match.pd (C - X CMP X): ... here.

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