inlinehint-3.c: New testcase.
commitbf3f651054fdf0fdd672ffe344b0886e74f20098
authorJan Hubicka <jh@suse.cz>
Sun, 28 Oct 2012 12:00:32 +0000 (28 13:00 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 28 Oct 2012 12:00:32 +0000 (28 12:00 +0000)
treebb44264423c65bd2e325dd7398d14e341c3b013a
parent5d517141037264e94ae503a0f883f074aad2b8fb
inlinehint-3.c: New testcase.

* gcc.dg/ipa/inlinehint-3.c: New testcase.
* ipa-inline.c (edge_badness): Fix overflow.
(inline_small_functions): Initialize SCCs correctly.
(do_estimate_edge_time, do_estimate_edge_hints): Skip self
recursive functions in SCC hints.

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