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]

r226948 - in /trunk/gcc: cp/ChangeLog cp/conste...


Author: jason
Date: Mon Aug 17 18:41:59 2015
New Revision: 226948

URL: https://gcc.gnu.org/viewcvs?rev=226948&root=gcc&view=rev
Log:
	* constexpr.c (cxx_eval_store_expression): Don't set
	CONSTRUCTOR_NO_IMPLICIT_ZERO if we have an enclosing CONSTRUCTOR
	without it.
	(cxx_eval_array_reference): Check it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-array12.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c


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