ipa-inline-transform.c (can_remove_node_now_p): Fix thunkos.

other/49533
	* ipa-inline-transform.c (can_remove_node_now_p): Fix thunkos.

From-SVN: r178809
This commit is contained in:
Jan Hubicka 2011-09-13 16:03:04 +02:00 committed by Jan Hubicka
parent 1e874273f8
commit aa74f0812b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-09-13 Jan Hubicka <jh@suse.cz>
other/49533
* ipa-inline-transform.c (can_remove_node_now_p): Fix thunkos.
2011-09-13 Paul Brook <paul@codesourcery.com>
* config/arm/arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.

View File

@ -120,8 +120,8 @@ can_remove_node_now_p (struct cgraph_node *node, struct cgraph_edge *e)
return true;
for (next = node->same_comdat_group;
next != node; next = next->same_comdat_group)
if (node->callers && node->callers != e
&& !can_remove_node_now_p_1 (node))
if ((next->callers && next->callers != e)
|| !can_remove_node_now_p_1 (next))
return false;
return true;
}