match.pd: Relax some tree_nop_conversion_p
authorMarc Glisse <marc.glisse@inria.fr>
Mon, 23 May 2016 17:49:10 +0000 (19:49 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Mon, 23 May 2016 17:49:10 +0000 (17:49 +0000)
commitece46666cd43d0996769a2e97d8acef7faa94b4d
treefff4a123b19c2bf2f538648f2f64ba9d9b634207
parentbb5e62d648ee35bf23639af2fda4ebadde9f1338
match.pd: Relax some tree_nop_conversion_p

2016-05-23  Marc Glisse  <marc.glisse@inria.fr>

gcc/
* match.pd (a * (1 << b), ~x & ~y, ~X ^ ~Y, (X ^ Y) ^ Y, ~ (-A),
~ (A - 1), ~(~X >> Y), ~(~X >>r Y)): Relax constraints.

gcc/testsuite/
* gcc.dg/fold-notshift-2.c: Adjust.

From-SVN: r236601
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fold-notshift-2.c