diff options
Diffstat (limited to 'gcc/ipa-split.c')
-rw-r--r-- | gcc/ipa-split.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c index da3c2c6..ae1de6f 100644 --- a/gcc/ipa-split.c +++ b/gcc/ipa-split.c @@ -1363,6 +1363,9 @@ split_function (basic_block return_bb, struct split_point *split_point, /* Let's take a time profile for splitted function. */ node->tp_first_run = cur_node->tp_first_run + 1; + if (cur_node->same_comdat_group) + node->add_to_same_comdat_group (cur_node); + /* For usual cloning it is enough to clear builtin only when signature changes. For partial inlining we however can not expect the part of builtin implementation to have same semantic as the whole. */ |