aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2012-04-22 01:59:25 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2012-04-21 23:59:25 +0000
commit7ca8f4865287b413a702608a7e40380e599df8d9 (patch)
treeb14ae5952a223b6eca47cc438390ee318e018c26 /gcc/cp/method.c
parent9e412ca3ebe589537430ce89c4342ca08f251d69 (diff)
downloadgcc-7ca8f4865287b413a702608a7e40380e599df8d9.zip
gcc-7ca8f4865287b413a702608a7e40380e599df8d9.tar.gz
gcc-7ca8f4865287b413a702608a7e40380e599df8d9.tar.bz2
method.c (make_alias_for): Do not set TREE_SYMBOL_REFERENCED.
* method.c (make_alias_for): Do not set TREE_SYMBOL_REFERENCED. * decl2.c (mark_needed): Likewise. (decl_needed_p): Do not test TREE_SYMBOL_REFERENCED. * decl2.c (cxx_callgraph_analyze_expr): Remove. * cp-objcp-common.h (LANG_HOOKS_CALLGRAPH_ANALYZE_EXPR): Remove. * cp-tree.h (cxx_callgraph_analyze_expr): Remove. From-SVN: r186658
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 79bed4a..cea44d4 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -244,7 +244,6 @@ make_alias_for (tree target, tree newid)
TREE_ADDRESSABLE (alias) = 1;
TREE_USED (alias) = 1;
SET_DECL_ASSEMBLER_NAME (alias, DECL_NAME (alias));
- TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (alias)) = 1;
return alias;
}