diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-05-08 20:44:02 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-05-08 18:44:02 +0000 |
commit | 6bbf39b789101366bccacda4f912b05636f03887 (patch) | |
tree | 6fd631ddca25c1c6908f1589de9b99b80f6a38b4 /gcc/cgraphclones.c | |
parent | 3b695ba657799e3723a892a5fec1a1fb2061c63c (diff) | |
download | gcc-6bbf39b789101366bccacda4f912b05636f03887.zip gcc-6bbf39b789101366bccacda4f912b05636f03887.tar.gz gcc-6bbf39b789101366bccacda4f912b05636f03887.tar.bz2 |
cgraph.c (thunk_adjust): Export.
* cgraph.c (thunk_adjust): Export.
* cgraphclones.c (cgraph_node::create_clone): Clone thunk info.
* cgraphunit.c (thunk_adjust): Export.
(cgraph_node::assemble_thunks_and_aliases): Do not assemble inlined
thunks.
* ipa-inline-analyssi.c (compute_inline_parameters): Thunks are
inlinable.
* tree-inline.c (expand_call_inline): Expand thunks inline.
From-SVN: r236012
Diffstat (limited to 'gcc/cgraphclones.c')
-rw-r--r-- | gcc/cgraphclones.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c index 10f2d34..43ee735 100644 --- a/gcc/cgraphclones.c +++ b/gcc/cgraphclones.c @@ -436,6 +436,7 @@ cgraph_node::create_clone (tree new_decl, gcov_type gcov_count, int freq, new_node->tm_clone = tm_clone; new_node->icf_merged = icf_merged; new_node->merged_comdat = merged_comdat; + new_node->thunk = thunk; new_node->clone.tree_map = NULL; new_node->clone.args_to_skip = args_to_skip; |