mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-20 19:01:12 +08:00
* predict.c (estimate_bb_frequencies): Fix test if profile is present.
From-SVN: r142600
This commit is contained in:
parent
53873346f1
commit
0e7f7d876b
@ -1,3 +1,7 @@
|
||||
2008-12-09 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* predict.c (estimate_bb_frequencies): Fix test if profile is present.
|
||||
|
||||
2008-12-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/35468
|
||||
|
@ -2052,7 +2052,7 @@ estimate_bb_frequencies (void)
|
||||
basic_block bb;
|
||||
sreal freq_max;
|
||||
|
||||
if (cfun->function_frequency != PROFILE_READ || !counts_to_freqs ())
|
||||
if (profile_status != PROFILE_READ || !counts_to_freqs ())
|
||||
{
|
||||
static int real_values_initialized = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user