This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r213690 - in /trunk/gcc: cp/ChangeLog cp/init.c...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 07 Aug 2014 01:44:41 -0000
- Subject: 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