diff options
author | Martin Jambor <mjambor@suse.cz> | 2011-03-28 14:15:44 +0200 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2011-03-28 14:15:44 +0200 |
commit | 322dd85963282f7b28ae25ccaafbf45ab2c9145d (patch) | |
tree | af67dd327ad63f08a6c47d5f6e9ec258c665e64e /gcc/cgraphunit.c | |
parent | aa53e58b920d4fe4bbdb26e227401ad827c52a57 (diff) | |
download | gcc-322dd85963282f7b28ae25ccaafbf45ab2c9145d.zip gcc-322dd85963282f7b28ae25ccaafbf45ab2c9145d.tar.gz gcc-322dd85963282f7b28ae25ccaafbf45ab2c9145d.tar.bz2 |
tree-inline.c (expand_call_inline): Do not check that destination node is analyzed.
2011-03-28 Martin Jambor <mjambor@suse.cz>
* tree-inline.c (expand_call_inline): Do not check that destination
node is analyzed.
(optimize_inline_calls): Assert that destination node is analyzed.
* cgraph.c (cgraph_add_new_function): Call cgraph_analyze_function, do
not call tree_lowering_passes.
* cgraph.h (cgraph_analyze_function): Declare.
* cgraphunit.c (cgraph_analyze_function): Make public.
From-SVN: r171602
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index e6a0ea6..c397fe5 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -143,7 +143,6 @@ static void cgraph_expand_all_functions (void); static void cgraph_mark_functions_to_output (void); static void cgraph_expand_function (struct cgraph_node *); static void cgraph_output_pending_asms (void); -static void cgraph_analyze_function (struct cgraph_node *); FILE *cgraph_dump_file; @@ -773,7 +772,7 @@ cgraph_output_pending_asms (void) } /* Analyze the function scheduled to be output. */ -static void +void cgraph_analyze_function (struct cgraph_node *node) { tree save = current_function_decl; |