* ipa-inline-transform.c (preserve_function_body_p): Look for
commit6a353dda02d22cd9dcef537b7371ad30b3e85a38
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 May 2016 07:12:46 +0000 (18 07:12 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 May 2016 07:12:46 +0000 (18 07:12 +0000)
tree51f4dc565b802a5108ca6b8ff2ddbbb66ebc9e33
parent0d7ddd4408c5dd29848e7cbe1a8686c5b796de06
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236357 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphclones.c
gcc/ipa-inline-transform.c
gcc/lto-cgraph.c
gcc/lto-streamer-in.c
gcc/tree-inline.c