OSDN Git Service

Fix C++ FE attribute alias failure.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Oct 2002 22:29:05 +0000 (22:29 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Oct 2002 22:29:05 +0000 (22:29 +0000)
* decl.c (duplicate_decls): Don't call decl_attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58034 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 32089cf..8261bc9 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 8ab8a5e..ad083d0 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)
     {