re PR middle-end/25530 ((unsigned / 2)*2 is not changed into unsigned &~1)
authorNaveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
Fri, 24 Jul 2015 04:50:41 +0000 (04:50 +0000)
committerNaveen H.S <naveenh@gcc.gnu.org>
Fri, 24 Jul 2015 04:50:41 +0000 (04:50 +0000)
commit5f8d832e470c6faefcf12440e1eef1f6f9b4af28
treea327f3852579d6ec50f99ea8236332c8f252b24b
parent887ab609652894b410854aadf593526e96c735b2
re PR middle-end/25530 ((unsigned / 2)*2 is not changed into unsigned &~1)

PR middle-end/25530
2015-07-24  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>

gcc/testsuite/ChangeLog:
* gcc.dg/pr25530.c: New test.

gcc/ChangeLog:
* match.pd (mult (trunc_div @0 integer_pow2p@1) @1) : New simplifier.

From-SVN: r226137
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr25530.c [new file with mode: 0644]