This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r165726 - in /trunk/gcc: cp/ChangeLog cp/parser...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 20 Oct 2010 14:13:39 -0000
- Subject: r165726 - in /trunk/gcc: cp/ChangeLog cp/parser...
Author: jason
Date: Wed Oct 20 14:13:38 2010
New Revision: 165726
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165726
Log:
PR c++/46056
* parser.c (cp_convert_range_for): Call cp_finish_decl
instead of finish_expr_stmt.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/range-for7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog