Commit 51093fca by Martin Jambor Committed by Martin Jambor

cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Alias check removed.

2011-08-31  Martin Jambor  <mjambor@suse.cz>

	* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Alias
	check removed.

From-SVN: r178384
parent 32950a5d
2011-08-31 Martin Jambor <mjambor@suse.cz>
* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Alias
check removed.
2011-08-31 Richard Guenther <rguenther@suse.de>
* fold-const.c (extract_muldiv_1): Remove bogus TYPE_IS_SIZETYPE
......@@ -2373,9 +2373,7 @@ cgraph_redirect_edge_call_stmt_to_callee (struct cgraph_edge *e)
#endif
if (e->indirect_unknown_callee
|| decl == e->callee->decl
/* Don't update call from same body alias to the real function. */
|| (decl && cgraph_get_node (decl) == cgraph_get_node (e->callee->decl)))
|| decl == e->callee->decl)
return e->call_stmt;
#ifdef ENABLE_CHECKING
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment