summaryrefslogtreecommitdiff
path: root/gcc/ipa-inline-transform.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-02 20:10:56 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-02 20:10:56 +0000
commitab89cd93a231197c9f8c042e2a60ed007f692252 (patch)
treed4aa397f0c4a41f1add6cdeb49b9ef6ff2df9801 /gcc/ipa-inline-transform.c
parent4ed3f3fd63e8b9f325ebfb2fe0d4626f19fcf349 (diff)
downloadgcc-ab89cd93a231197c9f8c042e2a60ed007f692252.tar.gz
PR ipa/64988
* ipa-inline-transform.c (clone_inlined_nodes): Do not dissolve comdat groups. * g++.dg/torture/pr64988.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221123 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline-transform.c')
-rw-r--r--gcc/ipa-inline-transform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c
index 52493cc4d00..38a98dbe43c 100644
--- a/gcc/ipa-inline-transform.c
+++ b/gcc/ipa-inline-transform.c
@@ -213,7 +213,7 @@ clone_inlined_nodes (struct cgraph_edge *e, bool duplicate,
For now we keep the ohter functions in the group in program until
cgraph_remove_unreachable_functions gets rid of them. */
gcc_assert (!e->callee->global.inlined_to);
- e->callee->dissolve_same_comdat_group_list ();
+ e->callee->remove_from_same_comdat_group ();
if (e->callee->definition
&& inline_account_function_p (e->callee))
{
@@ -243,7 +243,7 @@ clone_inlined_nodes (struct cgraph_edge *e, bool duplicate,
}
}
else
- e->callee->dissolve_same_comdat_group_list ();
+ e->callee->remove_from_same_comdat_group ();
e->callee->global.inlined_to = inlining_into;