PR ipa/64988
* ipa-inline-transform.c (clone_inlined_nodes): Do not dissolve
comdat groups.
* g++.dg/torture/pr64988.C: New testcase.
From-SVN: r221123
+2015-03-02 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/64988
+ * ipa-inline-transform.c (clone_inlined_nodes): Do not dissolve
+ comdat groups.
+
2015-03-02 Jan Hubicka <hubicka@ucw.cz>
Aldy Hernandez <aldyh@redhat.com>
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))
{
}
}
else
- e->callee->dissolve_same_comdat_group_list ();
+ e->callee->remove_from_same_comdat_group ();
e->callee->global.inlined_to = inlining_into;
+2015-03-02 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/64988
+ * g++.dg/torture/pr64988.C: New testcase.
+
2015-03-02 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/coarray_atomic_6.f90: New.
--- /dev/null
+// { dg-do compile }
+// { dg-options "-O -fdeclone-ctor-dtor" }
+struct A {
+ virtual ~ A ();
+};
+
+struct B : virtual A {};
+struct C : virtual A {};
+
+struct D : B, C {};
+
+D d;