r143528 - in /branches/thread-annotations/gcc: ...
lcwu@gcc.gnu.org
lcwu@gcc.gnu.org
Tue Jan 20 21:20:00 GMT 2009
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
More information about the Gcc-cvs
mailing list