re PR middle-end/28071 (A file that can not be compiled in reasonable time/space)
authorJan Hubicka <jh@suse.cz>
Mon, 21 Aug 2006 01:42:39 +0000 (03:42 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 21 Aug 2006 01:42:39 +0000 (01:42 +0000)
commit70d539ce3a777b83d929c6de70b14a6eb7f3a100
treea12516abd37107b901b016eeb00d8d3bf4e3660f
parent76395e081fd157eea5646a1dc4add10415d8b330
re PR middle-end/28071 (A file that can not be compiled in reasonable time/space)

PR rtl-optimization/28071
* tree-optimize.c (tree_rest_of_compilation): Do not remove edges
twice.
* tree-inline.c (copy_bb): Use cgraph_set_call_stmt.
* ipa-inline.c (cgraph_check_inline_limits): Add one_only argument.
(cgraph_decide_inlining, cgraph_decide_inlining_of_small_function,
cgraph_decide_inlining_incrementally): Update use of
cgraph_check_inline_limits.
* cgraph.c (edge_hash, edge_eq): New function.
(cgraph_edge, cgraph_set_call_stmt, cgraph_create_edge,
cgraph_edge_remove_caller, cgraph_node_remove_callees,
cgraph_remove_node): Maintain call site hash.
* cgraph.h (struct cgraph_node): Add call_site_hash.
(cgraph_set_call_stmt): New function.

From-SVN: r116284
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/ipa-inline.c
gcc/tree-inline.c
gcc/tree-optimize.c