diff options
author | Jan Hubicka <jh@suse.cz> | 2005-06-02 21:41:31 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-06-02 19:41:31 +0000 |
commit | 6b02a4997be30a1cb81a573ea3abc68802f10b2a (patch) | |
tree | 581a728808f9ec389dc440901acdffc5a28d346f /gcc/ipa-inline.c | |
parent | 04b0eed045fd952d1e8889dd06f07563ce16160b (diff) | |
download | gcc-6b02a4997be30a1cb81a573ea3abc68802f10b2a.zip gcc-6b02a4997be30a1cb81a573ea3abc68802f10b2a.tar.gz gcc-6b02a4997be30a1cb81a573ea3abc68802f10b2a.tar.bz2 |
cgraph.c (cgraph_node): Maintain master clones.
* cgraph.c (cgraph_node): Maintain master clones.
(cgraph_remove_node): Likewise.
(availability_names): New static variable.
(dump_cgraph_node): Dump availability.
(dump_cgraph_varpool_node): Likewise.
(cgraph_is_master_clone, cgraph_master_clone,
cgraph_function_body_availability,
cgraph_variable_initializer_availability): New functions.
* cgraph.h (availability): New enum.
(struct cgraph_node): Add master_clone.
(cgraph_is_master_clone, cgraph_master_clone,
cgraph_function_body_availability,
cgraph_variable_initializer_availability): Declare.
* cgraphunit.c (cgraph_expand_function): Setcgraph_function_flags_ready.
(cgraph_remove_unreachable_nodes): Remove unreachable nodes.
* ipa-inline.c (cgraph_decide_inlining): Do not call
cgraph_remove_unreachable_nodes.
From-SVN: r100507
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r-- | gcc/ipa-inline.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index e58ac0f..5a336ff 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -857,12 +857,6 @@ cgraph_decide_inlining (void) } } - /* We will never output extern functions we didn't inline. - ??? Perhaps we can prevent accounting of growth of external - inline functions. */ - - cgraph_remove_unreachable_nodes (false, dump_file); - if (dump_file) fprintf (dump_file, "\nInlined %i calls, eliminated %i functions, " |