From 17fd9cb97caf21d1780daa233591b3e3d706059a Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 26 Feb 2004 23:25:15 +0000 Subject: [PATCH] c-decl.c (c_expand_deferred_function): Remove. * c-decl.c (c_expand_deferred_function): Remove. * c-tree.h: Remove the corresponding prototype. From-SVN: r78528 --- gcc/ChangeLog | 5 +++++ gcc/c-decl.c | 20 -------------------- gcc/c-tree.h | 1 - 3 files changed, 5 insertions(+), 21 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc4ba4a0f98..6184136f864 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-26 Kazu Hirata + + * c-decl.c (c_expand_deferred_function): Remove. + * c-tree.h: Remove the corresponding prototype. + 2004-02-26 Kazu Hirata * postreload.c (reload_cse_move2add): Generate just a PLUS diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 0f76b88eaf9..01f1761864b 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -6080,26 +6080,6 @@ finish_function (void) current_function_decl = NULL; } -/* Generate the RTL for a deferred function FNDECL. */ - -void -c_expand_deferred_function (tree fndecl) -{ - /* DECL_INLINE or DECL_RESULT might got cleared after the inline - function was deferred, e.g. in duplicate_decls. */ - if (DECL_INLINE (fndecl) && DECL_RESULT (fndecl)) - { - if (flag_inline_trees) - { - timevar_push (TV_INTEGRATION); - optimize_inline_calls (fndecl); - timevar_pop (TV_INTEGRATION); - } - c_expand_body (fndecl); - current_function_decl = NULL; - } -} - /* Generate the RTL for the body of FNDECL. If NESTED_P is nonzero, then we are already in the process of generating RTL for another function. */ diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 1de2e25eab7..83592acc2f5 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -227,7 +227,6 @@ extern tree start_struct (enum tree_code, tree); extern void store_parm_decls (void); extern tree xref_tag (enum tree_code, tree); extern tree c_begin_compound_stmt (void); -extern void c_expand_deferred_function (tree); extern void c_expand_decl_stmt (tree); extern void c_static_assembler_name (tree); extern tree make_pointer_declarator (tree, tree); -- 2.30.2