* ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
edges.
From-SVN: r219962
+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
speculations when merging. */
gcc_unreachable ();
}
- else if (e2->speculative)
+ else if (e2 && e2->speculative)
{
cgraph_edge *direct, *indirect;
ipa_ref *ref;