summaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 52a600440f9..99078e42eda 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -2149,7 +2149,6 @@ duplicate_decls (tree newdecl, tree olddecl, bool newdecl_is_friend)
/* The NEWDECL will no longer be needed. Because every out-of-class
declaration of a member results in a call to duplicate_decls,
freeing these nodes represents in a significant savings. */
- remove_decl_from_map (newdecl);
ggc_free (newdecl);
return olddecl;