ipa-inline.c: Fix comment typos; do not inline gt-ipa-inline.h
authorJan Hubicka <jh@suse.cz>
Mon, 18 Apr 2011 18:39:39 +0000 (20:39 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 18 Apr 2011 18:39:39 +0000 (18:39 +0000)
commit09a2806fb2ec1286df2ef3ab3ff4e8674ca01fad
treeb5147e1ac1b38e8c51a963484ffe54057942c691
parent3eea52efc8ba92e60b11ca681d6aa4ad01134adf
ipa-inline.c: Fix comment typos; do not inline gt-ipa-inline.h

* ipa-inline.c: Fix comment typos; do not inline gt-ipa-inline.h
(want_inline_function_called_once_p): Break out the logic from
ipa_inline.
(edge_badness): Ensure that profile is not misupdated.
(lookup_recursive_calls): Prioritize by call frequencies.
(inline_small_functions): Move program size estimates here;
actually process whole queue even when unit growth has been
met. (to properly compute inline_failed reasons and for the
case unit size decrease.) Revisit comments on recursive
inlining.
(ipa_inline): Remove unit summary code; first inline hot calls
of functions called once, cold calls next.
(order, nnodes): Remove unused variables.
* Makefile.in (ipa-inline.o): No longer depent on ggc files.
(GTFILES): Remove ipa-inline.c
* sel-sched.c (fill_insns): Silence uninitialized var warning.

From-SVN: r172663
gcc/ChangeLog
gcc/Makefile.in
gcc/ipa-inline.c
gcc/sel-sched.c