Fix C++ FE attribute alias failure.
authorJim Wilson <wilson@redhat.com>
Thu, 10 Oct 2002 22:29:05 +0000 (22:29 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 10 Oct 2002 22:29:05 +0000 (15:29 -0700)
* decl.c (duplicate_decls): Don't call decl_attributes.

From-SVN: r58034

gcc/cp/ChangeLog
gcc/cp/decl.c

index 32089cf8b46febdf72c0338497bc91085b8f891e..8261bc95de7c8c56966cca960d07d8204c69fa20 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-10  Jim Wilson  <wilson@redhat.com>
+
+       * decl.c (duplicate_decls): Don't call decl_attributes.
+
 2002-10-09  Zack Weinberg  <zack@codesourcery.com>
 
        PR c/7353
index 8ab8a5e1bb516a5c4f1fa358c52f44de56d7d5aa..ad083d0058c7213959bcad86a6c26e6fdb185220 100644 (file)
@@ -3422,7 +3422,6 @@ duplicate_decls (newdecl, olddecl)
      except for any that we copy here from the old type.  */
   DECL_ATTRIBUTES (newdecl)
     = (*targetm.merge_decl_attributes) (olddecl, newdecl);
-  decl_attributes (&newdecl, DECL_ATTRIBUTES (newdecl), 0);
 
   if (TREE_CODE (newdecl) == TEMPLATE_DECL)
     {