]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-decl.c (c_expand_deferred_function): Remove.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 26 Feb 2004 23:25:15 +0000 (23:25 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 26 Feb 2004 23:25:15 +0000 (23:25 +0000)
* c-decl.c (c_expand_deferred_function): Remove.
* c-tree.h: Remove the corresponding prototype.

From-SVN: r78528

gcc/ChangeLog
gcc/c-decl.c
gcc/c-tree.h

index cc4ba4a0f98ac3e6eb34511072b38eccd808c320..6184136f864832fea4ea93e5fb3ff991350a6571 100644 (file)
@@ -1,3 +1,8 @@
+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
index 0f76b88eaf9d3bf9b294ddc24d3cb8b9f2089f53..01f1761864bbb048696cde8b01503a98bfadf2d8 100644 (file)
@@ -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.  */
index 1de2e25eab75e1eb4899e17f5e8baf67d43a7fc6..83592acc2f5c93648e00abbfbab0e748c0cea9e5 100644 (file)
@@ -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);