aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2012-05-03 21:18:51 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2012-05-03 19:18:51 +0000
commitc2b6c111b682205e988f10e563aacf8b3efaf3cf (patch)
tree2294355ab614437edfa67828c9fc0bd639029523 /gcc/ipa.c
parentf070c0498e4dc44c1db59c394895710553f63beb (diff)
downloadgcc-c2b6c111b682205e988f10e563aacf8b3efaf3cf.zip
gcc-c2b6c111b682205e988f10e563aacf8b3efaf3cf.tar.gz
gcc-c2b6c111b682205e988f10e563aacf8b3efaf3cf.tar.bz2
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
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r--gcc/ipa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa.c b/gcc/ipa.c
index a722386..42e9061 100644
--- a/gcc/ipa.c
+++ b/gcc/ipa.c
@@ -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;