ipa-inline-analysis.c (edge_set_predicate): Reset size/time when target is UNREACHABLE.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 30 Dec 2014 11:36:00 +0000 (12:36 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 30 Dec 2014 11:36:00 +0000 (11:36 +0000)
commitbc9b4a928547cc7fead6e33d388d8a0442cc0f10
tree7ff78c50ac4ee43a35521dc67f161dfcffa3b4e3
parent6a81690ec81499b14e94646258774d77a12e7589
ipa-inline-analysis.c (edge_set_predicate): Reset size/time when target is UNREACHABLE.

* ipa-inline-analysis.c (edge_set_predicate): Reset size/time when
target is UNREACHABLE.
(evaluate_properties_for_edge): If call statemet is available, use it
to determine compile time constants.
(estimate_function_body_sizes): Enable predicates for early inliner.
(estimate_calls_size_and_time): Speedup.
(inline_merge_summary): Evaluate properties for early inliner, too.

From-SVN: r219108
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/inline-7.c [new file with mode: 0644]