diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-07-11 12:28:21 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-07-11 12:28:21 +0000 |
commit | d988b35c9a330535dda0a46c79f6312fd3f846c6 (patch) | |
tree | f22640beabedcb99dafa1cea4bfe17d4ff002bd7 /gcc | |
parent | 43c371e8b0dc21d3b1b6d87cc7f29d6d53ae5d82 (diff) | |
download | gcc-d988b35c9a330535dda0a46c79f6312fd3f846c6.zip gcc-d988b35c9a330535dda0a46c79f6312fd3f846c6.tar.gz gcc-d988b35c9a330535dda0a46c79f6312fd3f846c6.tar.bz2 |
* decl2.c (reset_type_linkage_2): Dont't change ctor name.
From-SVN: r250130
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl2.c | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 56c2448..17caf5d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 877745c..62a50ac 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -2622,13 +2622,6 @@ reset_type_linkage_2 (tree type) { 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); |