aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2004-06-21 23:04:49 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-06-21 23:04:49 +0000
commit0b4da8a182e81009fbd65d56451be31790132471 (patch)
treec7cd4acb9129b1d90090e3d54ff0d8897dd25807 /gcc/c-decl.c
parent63110e4e74f1c2bec7469c131b097b4ab5bedf25 (diff)
downloadgcc-0b4da8a182e81009fbd65d56451be31790132471.zip
gcc-0b4da8a182e81009fbd65d56451be31790132471.tar.gz
gcc-0b4da8a182e81009fbd65d56451be31790132471.tar.bz2
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
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index aa23a9f..d9d4368 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 ();