This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r169105 - in /trunk/gcc: cp/ChangeLog cp/semant...


Author: jakub
Date: Fri Jan 21 21:34:25 2011
New Revision: 169105

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169105
Log:
	PR c++/47388
	* semantics.c (begin_for_stmt): If -fno-for-scope, don't
	assume init must be NULL if scope is NULL.
	(begin_range_for_stmt): Likewise.

	* g++.dg/cpp0x/range-for10.C: New test.
	* g++.dg/template/for1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/range-for10.C
    trunk/gcc/testsuite/g++.dg/template/for1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]