------- Comment #3 from simartin at gcc dot gnu dot org 2008-06-15 12:06 ------- Subject: Bug 35320
Author: simartin Date: Sun Jun 15 12:05:37 2008 New Revision: 136808 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136808 Log: gcc/cp/ 2008-06-15 Simon Martin <[EMAIL PROTECTED]> PR c++/35320 * decl2.c (grokbitfield): Receive the list of attributes, pass it to grokdeclarator and apply it to the created declaration. * cp-tree.h (grokbitfield): Update prototype. * parser.c (cp_parser_member_declaration): Don't apply the attributes since they are now applied in grokbitfield. Adjusted the call to grokbitfield. (cp_parser_objc_class_ivars): Likewise. gcc/testsuite/ 2008-06-15 Simon Martin <[EMAIL PROTECTED]> PR c++/35320 * g++.dg/parse/bitfield3.C: New test. Added: branches/gcc-4_3-branch/gcc/testsuite/g++.dg/parse/bitfield3.C Modified: branches/gcc-4_3-branch/gcc/cp/ChangeLog branches/gcc-4_3-branch/gcc/cp/cp-tree.h branches/gcc-4_3-branch/gcc/cp/decl2.c branches/gcc-4_3-branch/gcc/cp/parser.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35320