re PR ipa/64481 (r219076 breaks bootstrap (x86_64-unknown-linux-gnu))
authorJan Hubicka <hubicka@ucw.cz>
Wed, 14 Jan 2015 03:47:17 +0000 (04:47 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 14 Jan 2015 03:47:17 +0000 (03:47 +0000)
commit0d92b55538087dd0c4acfed6bbed89053e5521d3
treed263aa4b3c8e49114fabaca0cafcda95de3c39a4
parentdc396715ae5034be1a14181d777ad7d110267624
re PR ipa/64481 (r219076 breaks bootstrap (x86_64-unknown-linux-gnu))

PR ipa/64481
* ipa-inline-analysis.c (node_growth_cache): Remove.
(initialize_growth_caches): Do not initialize it.
(free_growth_caches): Do not free it.
(do_estimate_growth): Rename to ...
(estimate_growth): ... this one; drop growth cache code.
(growth_likely_positive): Always go the heuristics way.
* ipa-inline.c (can_inline_edge_p): Walk through aliases.
(reset_edge_caches): Do not reset node growth.
(heap_edge_removal_hook): Do not maintain cache.
(inline_small_functions): Likewise; strenghten sanity check.
(ipa_inline): Do not maintain caches.
* ipa-inline.h (node_growth_cache): Remove.
(do_estimate_growth): Remove to ...
(estimate_growth): this one; remove inline version.
(reset_node_growth_cache): Remove.

From-SVN: r219572
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/ipa-inline.c
gcc/ipa-inline.h