diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-15 12:01:17 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-15 12:01:17 +0000 |
commit | 3a849bc18ced87bcad1833f9c826cfb3e1ea92dd (patch) | |
tree | 69ae811174a006e95d844f0fcb1b426efbb9c973 /gcc/ipa.c | |
parent | c3c9a9f3168f2b21a86ce97858a6bbd8476be510 (diff) | |
download | gcc-3a849bc18ced87bcad1833f9c826cfb3e1ea92dd.tar.gz |
* cgraphunit.c (handle_alias_pairs): New function.
(cgraph_finalize_compilation_unit): Use it.
* ipa.c (cgraph_externally_visible_p): Remove hack marking asm names
as externally visible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175079 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r-- | gcc/ipa.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/ipa.c b/gcc/ipa.c index 62510c620df..b9ae579cd45 100644 --- a/gcc/ipa.c +++ b/gcc/ipa.c @@ -612,14 +612,6 @@ cgraph_externally_visible_p (struct cgraph_node *node, if (DECL_BUILT_IN (node->decl)) return true; - /* FIXME: We get wrong symbols with asm aliases in callgraph and LTO. - This is because very little of code knows that assembler name needs to - mangled. Avoid touching declarations with user asm name set to mask - some of the problems. */ - if (DECL_ASSEMBLER_NAME_SET_P (node->decl) - && IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (node->decl))[0]=='*') - return true; - /* If linker counts on us, we must preserve the function. */ if (cgraph_used_from_object_file_p (node)) return true; |