This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r194254 - in /branches/gcc-4_7-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 06 Dec 2012 14:40:06 -0000
- Subject: r194254 - in /branches/gcc-4_7-branch/gcc: cp/C...
Author: jason
Date: Thu Dec 6 14:40:04 2012
New Revision: 194254
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194254
Log:
PR c++/54947
* parser.c (cp_parser_initializer_list): Don't require an
expression in [] to be constant until we know it's a C99
designator.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-initlist2.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/parser.c