This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Better tolerance of incoming profile insanities in jump threading


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  <tejohnson@google.com>

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

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]