diff options
author | Jan Hubicka <jh@suse.cz> | 2008-08-31 18:45:05 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2008-08-31 16:45:05 +0000 |
commit | a065d52eff29059a680ee8d44b11f03c0a544562 (patch) | |
tree | 422fb0a8faa00c7edd926c5753a32a442ce9540d /gcc/profile.c | |
parent | 079990a2bffd576c7f8a3f375e8f02be2bc00306 (diff) | |
download | gcc-a065d52eff29059a680ee8d44b11f03c0a544562.zip gcc-a065d52eff29059a680ee8d44b11f03c0a544562.tar.gz gcc-a065d52eff29059a680ee8d44b11f03c0a544562.tar.bz2 |
ipa-cp.c (ipcp_need_original_clone_p): Remove.
* ipa-cp.c (ipcp_need_original_clone_p): Remove.
(ipcp_estimate_growth): New.
(ipcp_insert_stage): Use ipcp_estimate_growth.
* profile.c (branch_prob): When reading failed, do not consider
profile as read.
From-SVN: r139835
Diffstat (limited to 'gcc/profile.c')
-rw-r--r-- | gcc/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/profile.c b/gcc/profile.c index 6aca917..6f89645 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -1154,7 +1154,7 @@ branch_prob (void) VEC_free (histogram_value, heap, values); free_edge_list (el); - if (flag_branch_probabilities) + if (flag_branch_probabilities && profile_info) profile_status = PROFILE_READ; coverage_end_function (); } |