aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2012-12-22 23:27:49 +0000
committerJan Hubicka <jh@suse.cz>2012-12-22 23:27:49 +0000
commitd17b37a9718d9043ec62f25ff9d7718c2ae11606 (patch)
tree6b77a3e817d0f1e1f924bfa1c3f34edc9996c080 /gcc/cgraph.h
parentd5368b6df77e3909dae3a00cc0f2c0a21b83d028 (diff)
PR lto/54728
* cgraph.h (symtab_real_symbol_p): Drop code looking for external functions. * lto-streamer-out.c (output_symbol_p): New function. (produce_symtab) Use it. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194700 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 28c3497c566..d783862c667 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -1357,7 +1357,6 @@ static inline bool
symtab_real_symbol_p (symtab_node node)
{
struct cgraph_node *cnode;
- struct ipa_ref *ref;
if (!is_a <cgraph_node> (node))
return true;
@@ -1366,11 +1365,6 @@ symtab_real_symbol_p (symtab_node node)
return false;
if (cnode->abstract_and_needed)
return false;
- /* We keep virtual clones in symtab. */
- if (!cnode->analyzed
- || DECL_EXTERNAL (cnode->symbol.decl))
- return (cnode->callers
- || ipa_ref_list_referring_iterate (&cnode->symbol.ref_list, 0, ref));
return true;
}
#endif /* GCC_CGRAPH_H */