This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r197324 - 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: Mon, 01 Apr 2013 21:18:05 -0000
- Subject: r197324 - in /trunk/gcc: cp/ChangeLog cp/parser...
Author: jason
Date: Mon Apr 1 21:18:05 2013
New Revision: 197324
URL: http://gcc.gnu.org/viewcvs?rev=197324&root=gcc&view=rev
Log:
PR c++/56794
* parser.c (cp_parser_range_for): Don't try to do auto deduction
in a template if the type of the range is incomplete.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/range-for24.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c