Commit ecb62563 by Jan Hubicka Committed by Jan Hubicka

re PR middle-end/48752 (ICE in evaulate_conditions_for_edge at ipa-inline-analysis.c:466)


	PR middle-end/48752 
	* ipa-inline.c (early_inliner): Disable when doing late
	addition of function.

From-SVN: r173211
parent be80a87e
2011-04-30 Jan Hubicka <jh@suse.cz>
PR middle-end/48752
* ipa-inline.c (early_inliner): Disable when doing late
addition of function.
2011-04-30 Jakub Jelinek <jakub@redhat.com>
* dwarf2out.c (get_address_mode): New inline.
......
......@@ -1664,6 +1664,15 @@ early_inliner (void)
if (seen_error ())
return 0;
/* Do nothing if datastructures for ipa-inliner are already computed. This
happens when some pass decides to construct new function and
cgraph_add_new_function calls lowering passes and early optimization on
it. This may confuse ourself when early inliner decide to inline call to
function clone, because function clones don't have parameter list in
ipa-prop matching their signature. */
if (ipa_node_params_vector)
return 0;
#ifdef ENABLE_CHECKING
verify_cgraph_node (node);
#endif
......
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