r238391 - in /trunk/gcc: cp/ChangeLog cp/parser...
jason@gcc.gnu.org
jason@gcc.gnu.org
Fri Jul 15 18:38:00 GMT 2016
Author: jason
Date: Fri Jul 15 18:38:31 2016
New Revision: 238391
URL: https://gcc.gnu.org/viewcvs?rev=238391&root=gcc&view=rev
Log:
PR c++/71604 - type definition in range-based for
PR c++/54430
* parser.c (cp_parser_range_for): Modify IDENTIFIER_BINDING directly.
(cp_parser_simple_declaration): Diagnose type definition in
for-range-declaration.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/range-for31.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/g++.dg/cpp0x/range-for8.C
More information about the Gcc-cvs
mailing list