This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r143528 - in /branches/thread-annotations/gcc: ...
- From: lcwu at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 20 Jan 2009 21:20:57 -0000
- Subject: 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