Re: [PATCH] Fix PR57077 (issue8840045)

2013-04-29 Thread Richard Biener
On Fri, Apr 26, 2013 at 8:52 PM, Teresa Johnson wrote: > This patch fixes PR57077. Certain new uses of apply_probability > are actually scaling the counts up, and the scale factor should not > be treated as a probability as the value may exceed REG_BR_PROB_BASE. > One example (from the PR) is when

[PATCH] Fix PR57077 (issue8840045)

2013-04-26 Thread Teresa Johnson
This patch fixes PR57077. Certain new uses of apply_probability are actually scaling the counts up, and the scale factor should not be treated as a probability as the value may exceed REG_BR_PROB_BASE. One example (from the PR) is when scaling counts up in LTO when merging profiles. Another exampl