aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-03-26 16:39:11 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-03-26 16:39:11 +0000
commit6710b3a49c7a9603737f1d0373070b122a752839 (patch)
treec3f613b6ee85a62bf5f20361a7f272d9e9f410fc /gcc/toplev.c
parentf36d731c56f79923d3aa2d1d4a727e5ed6d837e8 (diff)
* 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: https://gcc.gnu.org/svn/gcc/trunk@185813 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 665664041b1..e01ed814100 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -486,7 +486,6 @@ check_global_declaration_1 (tree decl)
warning (OPT_Wunused_function, "%q+F declared %<static%> but never defined", decl);
/* This symbol is effectively an "extern" declaration now. */
TREE_PUBLIC (decl) = 1;
- assemble_external (decl);
}
/* Warn about static fns or vars defined but not used. */
@@ -591,7 +590,7 @@ compile_file (void)
output_shared_constant_pool ();
output_object_blocks ();
- finish_tm_clone_pairs ();
+ finish_tm_clone_pairs ();
/* Write out any pending weak symbol declarations. */
weak_finish ();