Commit 173148bb by Jan Hubicka Committed by Jan Hubicka

ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect edges.


	* ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
	edges.

From-SVN: r219962
parent 2f3c4b69
2015-01-21 Jan Hubicka <hubicka@ucw.cz>
* ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
edges.
2015-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
* gimplify.c (gimplify_function_tree): Check the no_sanitize_thread
......
......@@ -634,7 +634,7 @@ ipa_merge_profiles (struct cgraph_node *dst,
speculations when merging. */
gcc_unreachable ();
}
else if (e2->speculative)
else if (e2 && e2->speculative)
{
cgraph_edge *direct, *indirect;
ipa_ref *ref;
......
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