This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[C++ PATCH] Remove redundant duplicated line
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 31 Aug 2007 08:32:08 -0400
- Subject: [C++ PATCH] Remove redundant duplicated line
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
The C++ __attribute__((__gnu_inline__)) patch introduced the same
line duplicated. Will commit as obvious.
2007-08-31 Jakub Jelinek <jakub@redhat.com>
* decl.c (duplicate_decls): Remove duplicated line.
--- gcc/cp/decl.c.jj 2007-08-30 18:43:55.000000000 +0200
+++ gcc/cp/decl.c 2007-08-31 14:28:19.000000000 +0200
@@ -1855,7 +1855,6 @@ duplicate_decls (tree newdecl, tree oldd
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);
}
Jakub