summaryrefslogtreecommitdiffstats
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-21 23:04:49 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-21 23:04:49 +0000
commite030e0eaa5fafeb4f9e6a1854f7d4dc726cce70e (patch)
treec7cd4acb9129b1d90090e3d54ff0d8897dd25807 /gcc/c-decl.c
parent95413efc9f15bf2bd992882e8e2a7c0793428139 (diff)
downloadppe42-gcc-e030e0eaa5fafeb4f9e6a1854f7d4dc726cce70e.tar.gz
ppe42-gcc-e030e0eaa5fafeb4f9e6a1854f7d4dc726cce70e.zip
* c-decl.c (start_function): Don't call make_decl_rtl. Don't
look at TREE_ADDRESSABLE of symbol name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83460 138bc75d-0d04-0410-961f-82ee72b054a4
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 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 ();
OpenPOWER on IntegriCloud