Avoid quadratic behaviour of update_callee_keys.
authorJan Hubicka <jh@suse.cz>
Thu, 21 Nov 2019 15:23:09 +0000 (16:23 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 21 Nov 2019 15:23:09 +0000 (15:23 +0000)
commit7c6f2fb9c7513d3487ab2d6d6edd235f152c0ef3
treef83e516c05660161a5fc84bd7be2e6517476e01c
parent5f5e796c9c986fd135514906a6a8f58b7d7a15d3
Avoid quadratic behaviour of update_callee_keys.

* ipa-inline.c (update_callee_keys): Add parameter UPDATE_SINCE.
(resolve_noninline_speculation, inline_small_functions): Avoid
redundant updates.

From-SVN: r278566
gcc/ChangeLog
gcc/ipa-inline.c