re PR middle-end/25529 ((unsigned * 2)/2 is not changed into unsigned &0x7FFFFFFF)
authorNaveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
Fri, 24 Jul 2015 04:47:48 +0000 (04:47 +0000)
committerNaveen H.S <naveenh@gcc.gnu.org>
Fri, 24 Jul 2015 04:47:48 +0000 (04:47 +0000)
commit887ab609652894b410854aadf593526e96c735b2
treea5cac4f24596afe32c7645d5f8e071b7176ef2f6
parent390875e69414e413076e9dad99dfab945f986eab
re PR middle-end/25529 ((unsigned * 2)/2 is not changed into unsigned &0x7FFFFFFF)

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

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

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

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