re PR ipa/63967 (r217633 caused internal compiler error: in estimate_edge_growth...
commit208e5afa4bb3d5bf8f3f187777756815f7845bb6
authorJan Hubicka <hubicka@ucw.cz>
Mon, 12 Jan 2015 09:28:15 +0000 (12 10:28 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 12 Jan 2015 09:28:15 +0000 (12 09:28 +0000)
treeb49d8ccd1432c3d72a5f5871247d1a2a69d22a41
parentd8d5aef10080e5c96414ba48fa31e41e823a95f7
re PR ipa/63967 (r217633 caused internal compiler error: in estimate_edge_growth, at ipa-inline.h:299)

PR ipa/63967
PR ipa/64425
* ipa-inline.c (compute_uninlined_call_time,
compute_inlined_call_time): Use counts for extra precision when
needed possible.
(big_speedup_p): Fix formating.
(RELATIVE_TIME_BENEFIT_RANGE): Remove.
(relative_time_benefit): Remove.
(edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
merge guessed and read profile paths.
(inline_small_functions): Count only !optimize_size functions into
initial size; be more lax about sanity check when profile is used;
be sure to update inlined function profile when profile is read.

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