]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ipa-inline-transform.c
ipa-inline-transform.c (preserve_function_body_p): Look for first non-thunk clone.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 18 May 2016 07:12:46 +0000 (09:12 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 18 May 2016 07:12:46 +0000 (07:12 +0000)
commitec6a1e35322a8b9b008c5fef7a8effdbf17b68eb
tree51f4dc565b802a5108ca6b8ff2ddbbb66ebc9e33
parentdf8b0a111998b29f47616001251333ce36984353
ipa-inline-transform.c (preserve_function_body_p): Look for first non-thunk clone.

* ipa-inline-transform.c (preserve_function_body_p): Look for
first non-thunk clone.
(save_function_body): Save into first non-thunk.
* lto-cgraph.c (lto_output_edge): When streaming thunk do not look
up call stmt id.
(lto_output_node): Inline thunks don't need body in every
partition.
* lto-streamer-in.c: Do not fixup thunk clones.
* cgraphclones.c (cgraph_node::create_edge_including_clone): Skip
thunks.
* tree-inline.c (copy_bb): Be prepared for target node to be new after
folding suceeds.

From-SVN: r236357
gcc/ChangeLog
gcc/cgraphclones.c
gcc/ipa-inline-transform.c
gcc/lto-cgraph.c
gcc/lto-streamer-in.c
gcc/tree-inline.c