+2004-09-21 Jan Hubicka <jh@suse.cz>
+
+ PR middle-end/17126
+ * tree-optimize.c (update_inlined_to_pointers): Fix the recursion.
+ (tree_rest_of_compilation): Cleanup.
+
2004-09-20 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.c (s390_select_rtx_section): Remove.
if (e->callee->global.inlined_to)
{
e->callee->global.inlined_to = inlined_to;
- update_inlined_to_pointers (e->callee, node);
+ update_inlined_to_pointers (e->callee, inlined_to);
}
}
}
cgraph_remove_edge (node->callees);
node->callees = saved_node->callees;
saved_node->callees = NULL;
+ update_inlined_to_pointers (node, node);
for (e = node->callees; e; e = e->next_callee)
- {
- if (e->callee->global.inlined_to)
- {
- e->callee->global.inlined_to = node;
- update_inlined_to_pointers (e->callee, node);
- }
- e->caller = node;
- }
+ e->caller = node;
cgraph_remove_node (saved_node);
}
}