summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b79324f4358..76dddf5b44b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2007-08-31 Jakub Jelinek <jakub@redhat.com>
+
+ * decl.c (duplicate_decls): Remove duplicated line.
+
2007-08-31 Paolo Carlini <pcarlini@suse.de>
PR c++/33210
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index ede4ec64273..d48d0fa882f 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -1855,7 +1855,6 @@ duplicate_decls (tree newdecl, tree olddecl, bool newdecl_is_friend)
if (!old_decl_gnu_inline)
{
DECL_INTERFACE_KNOWN (newdecl) |= DECL_INTERFACE_KNOWN (olddecl);
- DECL_INTERFACE_KNOWN (newdecl) |= DECL_INTERFACE_KNOWN (olddecl);
DECL_NOT_REALLY_EXTERN (newdecl) |= DECL_NOT_REALLY_EXTERN (olddecl);
DECL_COMDAT (newdecl) |= DECL_COMDAT (olddecl);
}