From 9003789808b2d385b2c1735d1aa7df0c8eee445d Mon Sep 17 00:00:00 2001 From: David Li Date: Thu, 4 Aug 2011 06:20:59 +0000 Subject: Fix a bug that broke -freorder-functions From-SVN: r177311 --- gcc/profile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/profile.c') 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) { -- cgit v1.1