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]

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


Author: paolo
Date: Sat Nov 19 23:17:12 2011
New Revision: 181517

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181517
Log:
/cp
2011-11-19  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/51216
	* semantics.c (potential_constant_expression_1): Handle IF_STMT,
	DO_STMT, FOR_STMT, and WHILE_STMT.

/testsuite
2011-11-19  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/51216
	* g++.dg/cpp0x/pr51216.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr51216.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]