Commit 0b4da8a1 by Zack Weinberg Committed by Zack Weinberg

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
parent 63110e4e
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
......
......@@ -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 ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment