diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-26 16:39:11 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-26 16:39:11 +0000 |
commit | ea259bbe1b2350126c466be7efb320d851aed253 (patch) | |
tree | c3f613b6ee85a62bf5f20361a7f272d9e9f410fc /gcc/calls.c | |
parent | a723d770e5eb185121f185cde2c3967cd7f522ad (diff) | |
download | gcc-ea259bbe1b2350126c466be7efb320d851aed253.tar.gz |
* toplev.c (check_global_declaration_1): Do not call assemble_external.
* expr.c (emit_block_move_libcall_fn): Likewise.
(clear_storage_libcall_fn): Likewise.
(expand_expr_addr_expr_1): Likewise.
(expand_expr_real_1): Likewise.
* calls.c (rtx_for_function_call): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185813 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index 19b2bfad81a..8c1e0797e44 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -1642,13 +1642,8 @@ rtx_for_function_call (tree fndecl, tree addr) /* Get the function to call, in the form of RTL. */ if (fndecl) { - /* If this is the first use of the function, see if we need to - make an external definition for it. */ if (!TREE_USED (fndecl) && fndecl != current_function_decl) - { - assemble_external (fndecl); - TREE_USED (fndecl) = 1; - } + TREE_USED (fndecl) = 1; /* Get a SYMBOL_REF rtx for the function address. */ funexp = XEXP (DECL_RTL (fndecl), 0); |