Commit f7f6be76 by Jan Hubicka Committed by Jan Hubicka

cgraphclones.c (cgraph_node::create_clone): Only localize toplevel functions, not inline clones.

	* cgraphclones.c (cgraph_node::create_clone): Only localize toplevel
	functions, not inline clones.

From-SVN: r279036
parent b51200e2
2019-12-06 Jan Hubicka <hubicka@ucw.cz>
* cgraphclones.c (cgraph_node::create_clone): Only localize toplevel
functions, not inline clones.
2019-12-06 Jan Hubicka <hubicka@ucw.cz>
* cfgexpand.c (expand_debug_expr): Do not ICE on SAD_EXPR.
2019-12-06 Richard Biener <rguenther@suse.de>
......@@ -450,7 +450,8 @@ cgraph_node::create_clone (tree new_decl, profile_count prof_count,
&& opt_for_fn (decl, flag_profile_partial_training)
&& nonzero
&& count.ipa_p ()
&& !count.ipa ().nonzero_p ())
&& !count.ipa ().nonzero_p ()
&& !inlined_to)
localize_profile (this);
if (!new_inlined_to)
......
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