Message ID | CAO2gOZVNR9VDE1O-60kjxdb3nB7O7SzpkGzjpQ0KeBXDCRe5aQ@mail.gmail.com |
---|---|
State | New |
Headers | show |
--- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -1234,7 +1234,8 @@ update_all_callee_keys (fibheap_t heap, struct cgraph_node *node, Reset their caches */ reset_node_growth_cache (callee); if (e->inline_failed) - update_caller_keys (heap, callee, updated_nodes, e); + update_caller_keys (heap, callee, updated_nodes, + flag_auto_profile ? NULL : e); if (e->next_callee) e = e->next_callee;