Fix a bug that broke -freorder-functions
From-SVN: r177311
This commit is contained in:
parent
22508caed3
commit
9003789808
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user