From e89fe41c872ca6495ce74543ecb6824c203bab70 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 10 Oct 2002 22:29:05 +0000 Subject: [PATCH] Fix C++ FE attribute alias failure. * decl.c (duplicate_decls): Don't call decl_attributes. From-SVN: r58034 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/decl.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 32089cf8b46..8261bc95de7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2002-10-10 Jim Wilson + + * decl.c (duplicate_decls): Don't call decl_attributes. + 2002-10-09 Zack Weinberg PR c/7353 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 8ab8a5e1bb5..ad083d0058c 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -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) { -- 2.30.2