re PR tree-optimization/34046 (verify_flow_info failed)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Wed, 14 Nov 2007 19:06:10 +0000 (20:06 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 14 Nov 2007 19:06:10 +0000 (19:06 +0000)
commit3bc8ba2577b766aa844b84255225cef90e7080bd
tree8e5403c396a8dbd4755b716da39cbfb2ce9cd734
parenta01e283ff5fd5bd1d0f8b274b01fe30fd98f82e8
re PR tree-optimization/34046 (verify_flow_info failed)

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.

From-SVN: r130185
gcc/ChangeLog
gcc/cfg.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20071114-1.c [new file with mode: 0644]