projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5387334
)
* predict.c (estimate_bb_frequencies): Fix test if profile is present.
author
Jan Hubicka
<jh@suse.cz>
Tue, 9 Dec 2008 17:04:26 +0000
(18:04 +0100)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Tue, 9 Dec 2008 17:04:26 +0000
(17:04 +0000)
From-SVN: r142600
gcc/ChangeLog
patch
|
blob
|
history
gcc/predict.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 9c9ad1f199b98d0c539d8cfbb7b09376b261c612..075863b8733ee3c2fe10967db659b9b93472b73e 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-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
diff --git
a/gcc/predict.c
b/gcc/predict.c
index 73dbcbdc4cea99d469bd359882f6c1d9cc867539..22e71ceab8dacb90185a4ac066ad472946ac0d5f 100644
(file)
--- a/
gcc/predict.c
+++ b/
gcc/predict.c
@@
-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;