From 133f9369c382006e841e9b940e060cbb4911edcf Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Mon, 30 Mar 2009 15:06:52 +0200 Subject: ipa-prop.h (jump_func_type): Rename IPA_UNKNOWN... 2009-03-30 Martin Jambor * ipa-prop.h (jump_func_type): Rename IPA_UNKNOWN, IPA_CONST, IPA_CONST_MEMBER_PTR, and IPA_PASS_THROUGH to IPA_JF_UNKNOWN, IPA_JF_CONST, IPA_JF_CONST_MEMBER_PTR, and IPA_JF_PASS_THROUGH respectively. * tree-dfa.c (get_ref_base_and_extent): Return -1 maxsize if seen_variable_array_ref while also traversing a union. * tree-inline.c (optimize_inline_calls): Do not call cgraph_node_remove_callees. * cgraphbuild.c (remove_cgraph_callee_edges): New function. (pass_remove_cgraph_callee_edges): New variable. * passes.c (init_optimization_passes): Add pass_remove_cgraph_callee_edges after early inlining and before all late intraprocedural passes. * omp-low.c (expand_omp_taskreg): Always set current_function_decl. From-SVN: r145291 --- gcc/tree-inline.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gcc/tree-inline.c') diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 37d9098..609a081 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -3639,10 +3639,6 @@ optimize_inline_calls (tree fn) /* Renumber the lexical scoping (non-code) blocks consecutively. */ number_blocks (fn); - /* We are not going to maintain the cgraph edges up to date. - Kill it so it won't confuse us. */ - cgraph_node_remove_callees (id.dst_node); - fold_cond_expr_cond (); /* It would be nice to check SSA/CFG/statement consistency here, but it is -- cgit v1.1