From 1cdbb3f92eb47cb74c037a4d50560cc38810d7b8 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 10 Sep 2012 10:32:36 +0200 Subject: lto-cgraph.c (compute_ltrans_boundary): Do not care about aliases. * lto-cgraph.c (compute_ltrans_boundary): Do not care about aliases. * lto-partition.c (partition_symbol_p): Forward declare. (add_references_to_partition): Reimplement using partition_symbol_p. (add_aliases_to_partition): Break out from add_references_to_partition; reimplement using partition_symbol_p. (add_cgraph_node_to_partition_1): Handle callees using partition_symbol_p; add sanity checks. (add_varpool_node_to_partition): Use add_aliases_to_partition. (partition_varpool_node_p): Do not special case aliases. From-SVN: r191129 --- gcc/symtab.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/symtab.c') diff --git a/gcc/symtab.c b/gcc/symtab.c index 665ceae..1dceb79 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -734,6 +734,8 @@ symtab_make_decl_local (tree decl) DECL_WEAK (decl) = 0; DECL_EXTERNAL (decl) = 0; TREE_PUBLIC (decl) = 0; + DECL_VISIBILITY_SPECIFIED (decl) = 0; + DECL_VISIBILITY (decl) = VISIBILITY_DEFAULT; if (!DECL_RTL_SET_P (decl)) return; -- cgit v1.1