diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/profile.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 923e8c9..1f84610 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-03 David Li <davidxl@google.com> + + * profile.c (compute_branch_probabilities): Compute + function frequency after profile annotation. + 2011-08-04 Alan Modra <amodra@gmail.com> * config/rs6000/rs6000.c (rs6000_emit_epilogue): Simplify diff --git a/gcc/profile.c b/gcc/profile.c index e85702e..893e2cd 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -748,6 +748,7 @@ compute_branch_probabilities (unsigned cfg_checksum, unsigned lineno_checksum) } counts_to_freqs (); profile_status = PROFILE_READ; + compute_function_frequency (); if (dump_file) { |