r172531 - in /trunk/gcc: cp/ChangeLog cp/parser...
jason@gcc.gnu.org
jason@gcc.gnu.org
Sat Apr 16 00:28:00 GMT 2011
Author: jason
Date: Sat Apr 16 00:28:17 2011
New Revision: 172531
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172531
Log:
Implement N3271
* parser.c (cp_convert_range_for): Split into
cp_parser_perform_range_for_lookup.
(cp_parser_perform_range_for_lookup): New.
(cp_parser_range_for_member_function): New.
(cp_parser_for_init_statement): Correct error message.
* semantics.c (finish_call_expr): Accept COMPONENT_REF.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/range-for11.C
- copied, changed from r172525, trunk/gcc/testsuite/g++.dg/cpp0x/range-for2.C
trunk/gcc/testsuite/g++.dg/cpp0x/range-for12.C
trunk/gcc/testsuite/g++.dg/cpp0x/range-for13.C
trunk/gcc/testsuite/g++.dg/cpp0x/range-for14.C
trunk/gcc/testsuite/g++.dg/cpp0x/range-for15.C
trunk/gcc/testsuite/g++.dg/cpp0x/range-for16.C
trunk/gcc/testsuite/g++.dg/cpp0x/range-for17.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/range-for2.C
trunk/gcc/testsuite/g++.dg/cpp0x/range-for3.C
trunk/gcc/testsuite/g++.dg/cpp0x/range-for9.C
More information about the Gcc-cvs
mailing list