Fix C++ FE problem with attribute alias.
* decl.c (duplicate_decls): Don't call decl_attributes. From-SVN: r58544
This commit is contained in:
parent
68a3e7e1aa
commit
c1fe36e425
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue