re PR middle-end/53106 (Benchmarks in SPEC CPU 2006 failed to build)
PR middle-end/53106 * ipa.c (cgraph_remove_unreachable_nodes): Fix handling of clones. From-SVN: r187114
This commit is contained in:
parent
f070c0498e
commit
c2b6c111b6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-05-03 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR middle-end/53106
|
||||
* ipa.c (cgraph_remove_unreachable_nodes): Fix handling of clones.
|
||||
|
||||
2012-05-03 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* dwarf2out.c (die_struct): Add comdat_type_p flag. Use it instead of
|
||||
|
|
|
@ -276,7 +276,7 @@ cgraph_remove_unreachable_nodes (bool before_inlining_p, FILE *file)
|
|||
{
|
||||
bool noninline = node->clone_of->symbol.decl != node->symbol.decl;
|
||||
node = node->clone_of;
|
||||
if (noninline && !pointer_set_insert (reachable, node) && !node->symbol.aux)
|
||||
if (noninline && !pointer_set_contains (reachable, node) && !node->symbol.aux)
|
||||
{
|
||||
enqueue_cgraph_node (node, &first, reachable);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue