+2017-07-11 Nathan Sidwell <nathan@acm.org>
+
+ * decl2.c (reset_type_linkage_2): Dont't change ctor name.
+
2017-07-10 Martin Sebor <msebor@redhat.com>
* cp-tree.h (cp_operator_id, cp_assignment_operator_id): Document.
{
tree mem = STRIP_TEMPLATE (m);
reset_decl_linkage (mem);
- if (DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P (mem))
- {
- /* Also update its name, for cxx_dwarf_name. */
- DECL_NAME (mem) = TYPE_IDENTIFIER (type);
- if (m != mem)
- DECL_NAME (m) = TYPE_IDENTIFIER (type);
- }
}
binding_table_foreach (CLASSTYPE_NESTED_UTDS (type),
bt_reset_linkage_2, NULL);