diff options
author | David Li <davidxl@google.com> | 2011-08-04 06:20:59 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@gcc.gnu.org> | 2011-08-04 06:20:59 +0000 |
commit | 9003789808b2d385b2c1735d1aa7df0c8eee445d (patch) | |
tree | 21d42e2ca84239c241c13e9b33ee71311872dc13 /gcc/profile.c | |
parent | 22508caed3ac82df7826ca23e9dd8ad0e3474cc7 (diff) | |
download | gcc-9003789808b2d385b2c1735d1aa7df0c8eee445d.tar.gz |
Fix a bug that broke -freorder-functions
From-SVN: r177311
Diffstat (limited to 'gcc/profile.c')
-rw-r--r-- | gcc/profile.c | 1 |
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) { |