summaryrefslogtreecommitdiff
path: root/gcc/lto-symtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto-symtab.c')
-rw-r--r--gcc/lto-symtab.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/lto-symtab.c b/gcc/lto-symtab.c
index ed8a651b721..f1424447d0f 100644
--- a/gcc/lto-symtab.c
+++ b/gcc/lto-symtab.c
@@ -262,12 +262,6 @@ static void
lto_varpool_replace_node (struct varpool_node *vnode,
struct varpool_node *prevailing_node)
{
- /* Merge node flags. */
- if (vnode->needed)
- {
- gcc_assert (!vnode->analyzed || prevailing_node->analyzed);
- varpool_mark_needed_node (prevailing_node);
- }
gcc_assert (!vnode->finalized || prevailing_node->finalized);
gcc_assert (!vnode->analyzed || prevailing_node->analyzed);