From 0b4da8a182e81009fbd65d56451be31790132471 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Mon, 21 Jun 2004 23:04:49 +0000 Subject: [PATCH] c-decl.c (start_function): Don't call make_decl_rtl. * 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 | 9 +++++++-- gcc/c-decl.c | 7 ------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a87ac980e3..1a103fef78c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-21 Zack Weinberg + + * 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 PR target/15551 @@ -8,7 +13,7 @@ (allocate_stack_worker_rex64_postreload): Likewise. 2004-06-21 Daniel Berlin - + Fix PR optimization/15982 * tree-ssa-pre.c: Update a few comments and todos to reflect constants change. @@ -157,7 +162,7 @@ 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 * objc/objc-act.h (get_object_reference): Rename to diff --git a/gcc/c-decl.c b/gcc/c-decl.c index aa23a9fa167..d9d4368c705 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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 (); -- 2.30.2