On 10/14/14 23:09, Teresa Johnson wrote:
The below patch fixes the overflow detection when recomputing
probabilities after jump threading, in case of incoming profile
insanities. It detects more cases where the computation will overflow
not only the max probability but the max int and possibly wrap around.

LTO profilebootstrapped and tested on x86_64-unknown-linux-gnu.

Ok for trunk?

Thanks,
Teresa


2014-10-14  Teresa Johnson  <tejohn...@google.com>

         PR bootstrap/63432
         * tree-ssa-threadupdate.c (recompute_probabilities): Better
         overflow checking.
OK.

jeff

Reply via email to