aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-split.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2017-04-08 19:09:58 +0200
committerMartin Liska <marxin@gcc.gnu.org>2017-04-08 17:09:58 +0000
commitd691b7e4067261a0acbe89c83bf1b06ed18bcafd (patch)
tree516df6fc45b23ee97c59a66667c7fe78c3926567 /gcc/ipa-split.c
parent27ba97a67a5e468317b3316224e82f4f7b680b71 (diff)
downloadgcc-d691b7e4067261a0acbe89c83bf1b06ed18bcafd.zip
gcc-d691b7e4067261a0acbe89c83bf1b06ed18bcafd.tar.gz
gcc-d691b7e4067261a0acbe89c83bf1b06ed18bcafd.tar.bz2
Revert r246759.
From-SVN: r246785
Diffstat (limited to 'gcc/ipa-split.c')
-rw-r--r--gcc/ipa-split.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c
index ae1de6f..da3c2c6 100644
--- a/gcc/ipa-split.c
+++ b/gcc/ipa-split.c
@@ -1363,9 +1363,6 @@ 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. */