* ipa-inline-analysis.c (edge_set_predicate): Reset size/time when
commitf4e523eb26d44966eeaa6fa8b6aeb1c37fa0bf51
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Dec 2014 11:36:00 +0000 (30 11:36 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Dec 2014 11:36:00 +0000 (30 11:36 +0000)
tree7ff78c50ac4ee43a35521dc67f161dfcffa3b4e3
parent374658e5b117c80cd22317f58b71a0fa8800bd3d
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219108 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/inline-7.c [new file with mode: 0644]