aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r--gcc/ipa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ipa.c b/gcc/ipa.c
index 5548193..288b58c 100644
--- a/gcc/ipa.c
+++ b/gcc/ipa.c
@@ -450,6 +450,9 @@ symbol_table::remove_unreachable_nodes (FILE *file)
reachable.add (body);
reachable.add (e->callee);
}
+ else if (e->callee->declare_variant_alt
+ && !e->callee->in_other_partition)
+ reachable.add (e->callee);
enqueue_node (e->callee, &first, &reachable);
}