Commit 77459763 by Jan Hubicka Committed by Jan Hubicka

re PR ipa/83001 (ICE in edge_badness, at ipa-inline.c:1025)


	PR ipa/83001
	* profile-count.c (profile_count::to_sreal_scale): Fix return value
	for uninitialied counts.

From-SVN: r254935
parent 0fa23756
2017-11-19 Jan Hubicka <hubicka@ucw.cz>
PR ipa/83001
* profile-count.c (profile_count::to_sreal_scale): Fix return value
for uninitialied counts.
2017-11-19 Jan Hubicka <hubicka@ucw.cz>
PR ipa/60243
* tree-inline.c (estimate_num_insns): Set to 1 at least.
......@@ -268,7 +268,7 @@ profile_count::to_sreal_scale (profile_count in, bool *known) const
{
if (known)
*known = false;
return CGRAPH_FREQ_BASE;
return 1;
}
if (known)
*known = true;
......
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