On Thu, Jul 23, 2015 at 5:49 AM, Hurugalawadi, Naveen <naveen.hurugalaw...@caviumnetworks.com> wrote: >>> Your previous patch correctly restricted this to unsigned types. > > Thanks for your review and comments. > > Please find attached the modified patch as per your comments. > > Please let me know if this version is okay?
Ok. Thanks, Richard. > Thanks, > Naveen > > 2015-07-22 Naveen H.S <naveen.hurugalaw...@caviumnetworks.com> > > gcc/testsuite/ChangeLog: > PR middle-end/25530 > * gcc.dg/pr25530.c: New test. > > gcc/ChangeLog: > PR middle-end/25530 > * match.pd (mult (trunc_div @0 integer_pow2p@1) @1) : New simplifier.