From: Kazu Hirata Date: Thu, 26 Feb 2004 23:25:15 +0000 (+0000) Subject: c-decl.c (c_expand_deferred_function): Remove. X-Git-Tag: releases/gcc-4.0.0~9818 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17fd9cb97caf21d1780daa233591b3e3d706059a;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc4ba4a0f98a..6184136f8648 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 0f76b88eaf9d..01f1761864bb 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 1de2e25eab75..83592acc2f5c 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);