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]

r144093 - in /branches/gcc-in-cxx/gcc: ChangeLo...


Author: ian
Date: Wed Feb 11 06:34:36 2009
New Revision: 144093

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144093
Log:
2009-02-10  Ian Lance Taylor  <iant@google.com>

	* parser.c (cp_parser_label_for_labeled_statement): Permit
	attributes on a label.
	* semantics.c (finish_label_stmt): Return the new label decl, not
	the new statement.
	* decl2.c (is_late_template_attribute): Return true for "unused"
	on a label.
	* pt.c (tsubst_expr): If the original label decl has attributes,
	apply them to the new label decl.

Modified:
    branches/gcc-in-cxx/gcc/ChangeLog.cxx
    branches/gcc-in-cxx/gcc/cp/decl2.c
    branches/gcc-in-cxx/gcc/cp/parser.c
    branches/gcc-in-cxx/gcc/cp/pt.c
    branches/gcc-in-cxx/gcc/cp/semantics.c


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