]> git.ipfire.org Git - thirdparty/gcc.git/commit
Makefile.in (ipa-inline.o): Add COEVERAGE_H dependency.
authorJan Hubicka <hubicka@gcc.gnu.org>
Wed, 25 May 2005 12:34:01 +0000 (12:34 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 25 May 2005 12:34:01 +0000 (12:34 +0000)
commit670cd5c514fbb1054692e52f765191668a17f05c
treecbc0aabd04b30c845e5acd57b7e1bb0c6b3c0fb7
parenta71a498df01ba32349bed4e72631433be1ff4a2a
Makefile.in (ipa-inline.o): Add COEVERAGE_H dependency.

* 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.

From-SVN: r100144
12 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/cgraph.c
gcc/cgraph.h
gcc/ipa-inline.c
gcc/passes.c
gcc/profile.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/inliner-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-prof/tree-prof.exp [new file with mode: 0644]
gcc/timevar.def
gcc/tree-optimize.c