]> gcc.gnu.org Git - gcc.git/commitdiff
c-decl.c (start_function): Don't call make_decl_rtl.
authorZack Weinberg <zack@codesourcery.com>
Mon, 21 Jun 2004 23:04:49 +0000 (23:04 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Mon, 21 Jun 2004 23:04:49 +0000 (23:04 +0000)
* c-decl.c (start_function): Don't call make_decl_rtl.  Don't
look at TREE_ADDRESSABLE of symbol name.

From-SVN: r83460

gcc/ChangeLog
gcc/c-decl.c

index 3a87ac980e3e148afc0a0943d1a2186a568c7265..1a103fef78ca5a4f5741c82de7d5e3ed7c7acb0f 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-21  Zack Weinberg  <zack@codesourcery.com>
+
+       * c-decl.c (start_function): Don't call make_decl_rtl.  Don't
+       look at TREE_ADDRESSABLE of symbol name.
+
 2004-06-21  Kelley Cook  <kcook@gcc.gnu.org>
 
        PR target/15551
@@ -8,7 +13,7 @@
        (allocate_stack_worker_rex64_postreload):  Likewise.
 
 2004-06-21  Daniel Berlin  <dberlin@dberlin.org>
-    
+
        Fix PR optimization/15982
        * tree-ssa-pre.c: Update a few comments and todos to
        reflect constants change.
        A & N ? N : 0 where N is a power of two.  Avoid
        relying on canonicalization and recursion for
        foldings of COND_EXPR to happen.
-       
+
 2004-06-20  David Ayers  <d.ayers@inode.at>
 
        * objc/objc-act.h (get_object_reference): Rename to
index aa23a9fa1670b7a2c64665da519ec4782d947d95..d9d4368c705b887f269c47eb5b8532c42c44bcb6 100644 (file)
@@ -5767,8 +5767,6 @@ start_function (tree declspecs, tree declarator, tree attributes)
   push_scope ();
   declare_parm_level ();
 
-  make_decl_rtl (current_function_decl, NULL);
-
   restype = TREE_TYPE (TREE_TYPE (current_function_decl));
   /* Promote the value to int before returning it.  */
   if (c_promoting_integer_type_p (restype))
@@ -5784,11 +5782,6 @@ start_function (tree declspecs, tree declarator, tree attributes)
   DECL_RESULT (current_function_decl)
     = build_decl (RESULT_DECL, NULL_TREE, restype);
 
-  /* If this fcn was already referenced via a block-scope `extern' decl
-     (or an implicit decl), propagate certain information about the usage.  */
-  if (TREE_ADDRESSABLE (DECL_ASSEMBLER_NAME (current_function_decl)))
-    TREE_ADDRESSABLE (current_function_decl) = 1;
-
   immediate_size_expand = old_immediate_size_expand;
 
   start_fname_decls ();
This page took 0.095316 seconds and 5 git commands to generate.