PR ipa/92508
* ipa-inline.c (inline_small_functions): Add new edges after reseting
caches.
* ipa-inline-analysis.c (do_estimate_edge_time): Fix sanity check.
From-SVN: r278419
+2019-11-18 Jan Hubicka <jh@suse.cz>
+
+ PR ipa/92508
+ * ipa-inline.c (inline_small_functions): Add new edges after reseting
+ caches.
+ * ipa-inline-analysis.c (do_estimate_edge_time): Fix sanity check.
+
2019-11-18 Richard Sandiford <richard.sandiford@arm.com>
* doc/sourcebuild.texi (vect_check_ptrs): Document.
nonspec_time = e->entry.nonspec_time;
hints = e->entry.hints;
if (flag_checking
- && !edge->callee->count.ipa_p ())
+ && !callee->count.ipa_p ())
{
sreal chk_time, chk_nonspec_time;
int chk_size, chk_min_size;
gcc_checking_assert (!callee->inlined_to);
inline_call (edge, true, &new_indirect_edges, &overall_size, true);
- add_new_edges_to_heap (&edge_heap, new_indirect_edges);
-
reset_edge_caches (edge->callee);
+ add_new_edges_to_heap (&edge_heap, new_indirect_edges);
update_callee_keys (&edge_heap, where, updated_nodes);
}