c-tree.h (grokfield): Add a "tree *" argument.
commitb9baeecdcc22a80357e232383421c6cb0cd3ab69
authorRichard Sandiford <richard@codesourcery.com>
Wed, 12 Sep 2007 13:16:42 +0000 (12 13:16 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 12 Sep 2007 13:16:42 +0000 (12 13:16 +0000)
tree3cb5e6af2cd22e35ac9a75b750a8820ca617d258
parented557735d747bae60ca5d1c7f9f04088eaba5f69
c-tree.h (grokfield): Add a "tree *" argument.

gcc/
* c-tree.h (grokfield): Add a "tree *" argument.
* c-decl.c (grokdeclarator): Take a pointer to the decl's attributes.
Chain nested decl attributes to it.  Don't call decl_attributes here.
(groktypename): Pass grokdeclarator a pointer to the attribute list.
(start_decl, grokparm, push_parm_decl, start_function): Likewise.
(grokfield): Take a pointer to the decl's attributes and pass
it to grokdeclarator.
* c-parser.c (c_parser_struct_declaration): Update the calls to
grokfield.  Call decl_attributes for anonymous struct and union
fields.

From-SVN: r128437
gcc/ChangeLog
gcc/c-decl.c
gcc/c-parser.c
gcc/c-tree.h