* predict.c (estimate_bb_frequencies): Fix test if profile is present.

From-SVN: r142600
This commit is contained in:
Jan Hubicka 2008-12-09 18:04:26 +01:00 committed by Jan Hubicka
parent 53873346f1
commit 0e7f7d876b
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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;