aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/ipa.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/gcc/ipa.c')
-rw-r--r--gcc-4.8/gcc/ipa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc-4.8/gcc/ipa.c b/gcc-4.8/gcc/ipa.c
index a9b8fb419..d73d105a0 100644
--- a/gcc-4.8/gcc/ipa.c
+++ b/gcc-4.8/gcc/ipa.c
@@ -359,6 +359,8 @@ symtab_remove_unreachable_nodes (bool before_inlining_p, FILE *file)
{
if (file)
fprintf (file, " %s", cgraph_node_name (node));
+ node->alias = false;
+ node->thunk.thunk_p = false;
cgraph_node_remove_callees (node);
ipa_remove_all_references (&node->symbol.ref_list);
changed = true;