summaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-25 12:34:01 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-25 12:34:01 +0000
commita49506c7117ea472251679a49a298303ef3463f8 (patch)
treecbc0aabd04b30c845e5acd57b7e1bb0c6b3c0fb7 /gcc/profile.c
parent7dfa5ce3ae065424b0d7c3ac734303d0ab9b772b (diff)
downloadgcc-a49506c7117ea472251679a49a298303ef3463f8.tar.gz
* Makefile.in (ipa-inline.o): Add COEVERAGE_H dependency.
* cgraph.c (cgraph_create_node): Reset estimated_growth. * cgraph.h (cgraph_global_info): Add estimated_growth. * ipa-inline.c: Include coverage.h (max_insns, max_count): New static variables. (cgraph_estimate_size_after_inlining): Cache the result. (cgraph_estimate_growth): * passes.c (rest_of_clean_state): Kill coverage_end_function. * timevar.def (TV_INLINE_HEURISTICS): New timevar. * tree-optimize.c (init_tree_optimization_passes): Move profiling before inlining. (ipa_passes): Initialize bitmaps. * gcc.dg/tree-prof/inliner-1.c: New. 2005-05-25 Janis Johnson <janis187@us.ibm.com> * gcc.dg/tree-prof: New directory. * gcc.dg/tree-prof/tree-prof.exp: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100144 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 4ab2553188b..b1514a523ab 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -1141,6 +1141,7 @@ branch_prob (void)
free_edge_list (el);
if (flag_branch_probabilities)
profile_status = PROFILE_READ;
+ coverage_end_function ();
}
/* Union find algorithm implementation for the basic blocks using