c-parse.in (all_prefix_attributes): New variable.
authorJoseph Myers <jsm28@cam.ac.uk>
Tue, 17 Jul 2001 11:58:54 +0000 (12:58 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 17 Jul 2001 11:58:54 +0000 (12:58 +0100)
commit4b01f8d817fd5d3bd2176637b1f02b14741a2684
treec445adeac5f944ebf602b7f57989eb9c6f6c4a83
parenteae4bce3a43dad89963794efbc5c4b3b6271bcd8
c-parse.in (all_prefix_attributes): New variable.

* c-parse.in (all_prefix_attributes): New variable.
(PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
(maybe_resetattrs): New production.
(c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
notype_initdcl, nested_function, notype_nested_function,
component_decl, components, components_notype,
component_declarator, component_notype_declarator,
absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
ivars, mydecl, myparm): Update.  Avoid prefix attributes just
after a comma being applied to more than one declarator.
* doc/extend.texi (Attribute Syntax): Update.  Remove
documentation of bugs that are no longer present.

testsuite:
* gcc.c-torture/compile/20010714-1.c, gcc.dg/format/attr-4.c: New
tests.

From-SVN: r44070
gcc/ChangeLog
gcc/c-parse.in
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20010714-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/attr-4.c [new file with mode: 0644]