r230450 - in /branches/google/gcc-4_9/gcc: cp/n...
brooks@gcc.gnu.org
brooks@gcc.gnu.org
Tue Nov 17 01:03:00 GMT 2015
Author: brooks
Date: Tue Nov 17 01:03:09 2015
New Revision: 230450
URL: https://gcc.gnu.org/viewcvs?rev=230450&root=gcc&view=rev
Log:
Backport r228354 from GCC trunk.
....
/cp
2015-10-01 Ville Voutilainen <ville.voutilainen@gmail.com>
* name-lookup.c (push_binding): Make non-static.
* name-lookup.h (push_binding): Declare it.
* parser.c (cp_parser_range_for): Use it, get the range
declaration away from the scope until the range expression
has been parsed, then restore the declaration.
/testsuite
2015-10-01 Ville Voutilainen <ville.voutilainen@gmail.com>
* g++.dg/cpp0x/range-for30.C: New.
....
Added:
branches/google/gcc-4_9/gcc/testsuite/g++.dg/cpp0x/range-for30.C
Modified:
branches/google/gcc-4_9/gcc/cp/name-lookup.c
branches/google/gcc-4_9/gcc/cp/name-lookup.h
branches/google/gcc-4_9/gcc/cp/parser.c
More information about the Gcc-cvs
mailing list