summaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
authordavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-04 06:20:59 +0000
committerdavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-04 06:20:59 +0000
commita648ea35de7f6748b22e11085d7ca2bd129731c6 (patch)
tree21d42e2ca84239c241c13e9b33ee71311872dc13 /gcc/profile.c
parente37658e2152927f6f539f8507e62661e6d953adf (diff)
downloadgcc-a648ea35de7f6748b22e11085d7ca2bd129731c6.tar.gz
Fix a bug that broke -freorder-functions
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177311 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/profile.c')
-rw-r--r--gcc/profile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/profile.c b/gcc/profile.c
index e85702ed8dc..893e2cd17c7 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)
{