This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r143528 - in /branches/thread-annotations/gcc: ...


Author: lcwu
Date: Tue Jan 20 21:20:57 2009
New Revision: 143528

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143528
Log:
Fix an issue in cp_parser_init_declarator. When calling grok_field, besides
prefix_attributes, we should also pass in the attributes that were just parsed
and returned from cp_parser_attributes_opt.

Added:
    branches/thread-annotations/gcc/testsuite/g++.dg/thread-ann/thread_annot_lock-37.C
    branches/thread-annotations/gcc/testsuite/g++.dg/thread-ann/thread_annot_lock-38.C
Modified:
    branches/thread-annotations/gcc/ChangeLog.lock-annotations
    branches/thread-annotations/gcc/cp/parser.c
    branches/thread-annotations/gcc/testsuite/ChangeLog.lock-annotations


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]