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]

r213690 - in /trunk/gcc: cp/ChangeLog cp/init.c...


Author: jason
Date: Thu Aug  7 01:44:40 2014
New Revision: 213690

URL: https://gcc.gnu.org/viewcvs?rev=213690&root=gcc&view=rev
Log:
	* init.c (build_vec_init): Fix constant initialization of
	trailing elements.
	(build_value_init_noctor): Call maybe_constant_init.
	* semantics.c (maybe_constant_init): See through EXPR_STMT and
	conversion to void.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-array8.C
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-array9.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/cp/semantics.c


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