r128437 - in /trunk/gcc: ChangeLog c-decl.c c-p...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Sep 12 13:16:00 GMT 2007


Author: rsandifo
Date: Wed Sep 12 13:16:42 2007
New Revision: 128437

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128437
Log:
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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-decl.c
    trunk/gcc/c-parser.c
    trunk/gcc/c-tree.h



More information about the Gcc-cvs mailing list