PR tree-optimization/34046
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Nov 2007 19:06:10 +0000 (19:06 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Nov 2007 19:06:10 +0000 (19:06 +0000)
commit4701372e3d1286672e54afa327a434ee9034edf0
tree8e5403c396a8dbd4755b716da39cbfb2ce9cd734
parente746f64d341e6bd4deea2945288106684d38265d
PR tree-optimization/34046
* cfg.c (update_bb_profile_for_threading): Avoid the division for the
scaling if the old probability is greater than the new base.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130185 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfg.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20071114-1.c [new file with mode: 0644]