diff options
author | Zack Weinberg <zack@codesourcery.com> | 2004-06-21 23:04:49 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-06-21 23:04:49 +0000 |
commit | 0b4da8a182e81009fbd65d56451be31790132471 (patch) | |
tree | c7cd4acb9129b1d90090e3d54ff0d8897dd25807 /gcc | |
parent | 63110e4e74f1c2bec7469c131b097b4ab5bedf25 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/c-decl.c | 7 |
2 files changed, 7 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a87ac9..1a103fe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. @@ -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 <d.ayers@inode.at> * objc/objc-act.h (get_object_reference): Rename to 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 (); |