diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/c-decl.c | 20 | ||||
| -rw-r--r-- | gcc/c-tree.h | 1 |
3 files changed, 5 insertions, 21 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc4ba4a..6184136 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> + * c-decl.c (c_expand_deferred_function): Remove. + * c-tree.h: Remove the corresponding prototype. + +2004-02-26 Kazu Hirata <kazu@cs.umass.edu> + * postreload.c (reload_cse_move2add): Generate just a PLUS instead of an entire SET. diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 0f76b88..01f1761 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 1de2e25e..83592ac 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); |
