[PATCH, PR 49786] Avoid overflow when updating counts in IPA-CP

2011-07-26 Thread Martin Jambor
Hi, the issue in PR 49786 has been well summarized in comment #12. Basically, the multiplication we do when updating counts of edges overflows. I looked at how this was handled previously in IPA-CP and the following should be an equivalent solution. This patch fixes the LTO profiled bootstrap

Re: [PATCH, PR 49786] Avoid overflow when updating counts in IPA-CP

2011-07-26 Thread Jan Hubicka
Hi, the issue in PR 49786 has been well summarized in comment #12. Basically, the multiplication we do when updating counts of edges overflows. I looked at how this was handled previously in IPA-CP and the following should be an equivalent solution. This patch fixes the LTO profiled