[C++ PATCH] Remove redundant duplicated line

Jakub Jelinek jakub@redhat.com
Fri Aug 31 12:51:00 GMT 2007


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



More information about the Gcc-patches mailing list