Commit bc8ddfe6 by Jan Hubicka Committed by Jan Hubicka

* ipa.c (cgraph_remove_unreachable_nodes): Revert accidental commit.

From-SVN: r159413
parent 4d2ab9e3
2010-05-14 Jan Hubicka <jh@suse.cz>
* ipa.c (cgraph_remove_unreachable_nodes): Revert accidental commit.
2010-05-14 Richard Guenther <rguenther@suse.de> 2010-05-14 Richard Guenther <rguenther@suse.de>
PR tree-optimization/44119 PR tree-optimization/44119
......
...@@ -320,21 +320,6 @@ cgraph_remove_unreachable_nodes (bool before_inlining_p, FILE *file) ...@@ -320,21 +320,6 @@ cgraph_remove_unreachable_nodes (bool before_inlining_p, FILE *file)
first_varpool = (struct varpool_node *)first_varpool->aux; first_varpool = (struct varpool_node *)first_varpool->aux;
vnode->aux = NULL; vnode->aux = NULL;
process_references (&vnode->ref_list, &first, &first_varpool, before_inlining_p); process_references (&vnode->ref_list, &first, &first_varpool, before_inlining_p);
/* If any function in a comdat group is reachable, force
all other functions in the same comdat group to be
also reachable. */
if (vnode->same_comdat_group)
{
struct varpool_node *next;
for (next = vnode->same_comdat_group;
next != vnode;
next = next->same_comdat_group)
if (!next->needed)
{
varpool_mark_needed_node (next);
enqueue_varpool_node (next, &first_varpool);
}
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment