lto-cgraph.c (lto_output_node, [...]): Stream split_part.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 1 Apr 2015 07:41:17 +0000 (09:41 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 1 Apr 2015 07:41:17 +0000 (07:41 +0000)
commit41f669d825086c0d81407815b9c7371fd51815b0
treeeac1696d54046990c5a2e48ab0b4ac01dab188be
parent9fd542c6b5af0e3e8aa464aabca88b5e812be4de
lto-cgraph.c (lto_output_node, [...]): Stream split_part.

* lto-cgraph.c (lto_output_node, input_overwrite_node): Stream
split_part.
* ipa-inline.c (edge_badness): Add wrapper penalty.
(sum_callers): Move up.
(inline_small_functions): Set single_caller.
* ipa-inline.h (inline_summary): Add single_caller.
* ipa-split.c (split_function): Set split_part.
(cgraph_node::create_clone): Do not shadow decl; copy split_part.
* cgraph.h (cgraph_node): Add split_part.

* gcc.dg/ipa/inlinehint-4.c: New testcase.

From-SVN: r221806
gcc/ChangeLog
gcc/cgraph.h
gcc/ipa-inline.c
gcc/ipa-inline.h
gcc/ipa-split.c
gcc/lto-cgraph.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/inlinehint-4.c [new file with mode: 0644]