]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix C++ FE problem with attribute alias.
authorJim Wilson <wilson@redhat.com>
Fri, 25 Oct 2002 22:38:05 +0000 (22:38 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 25 Oct 2002 22:38:05 +0000 (15:38 -0700)
* decl.c (duplicate_decls): Don't call decl_attributes.

From-SVN: r58544

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

index 90e209b52935a0c36f912ada0967a406ffe77d4a..c9c1741b8603a217dcc91ef661fb4a168643ac14 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-25  Zack Weinberg  <zack@codesourcery.com>
 
        PR middle-end/6994
index 5eb410ce53b59aa426021560dd5f9d7c22fe0aab..1b139ffdafb957f55888a2f262b4b6a2c2ed5009 100644 (file)
@@ -3500,7 +3500,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)
     {