------- Comment #5 from jason at gcc dot gnu dot org 2008-11-28 23:36 ------- Subject: Bug 38233
Author: jason Date: Fri Nov 28 23:35:37 2008 New Revision: 142265 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142265 Log: PR c++/38233 * init.c (perform_member_init): Fix value-initialization. (build_value_init_1): Add assert to catch cases that will break in the gimplifier. (build_default_init): Remove. * cp-tree.h: Remove its prototype. * pt.c (tsubst_expr) [DECL_EXPR]: Use build_value_init for value-initialization. Added: trunk/gcc/testsuite/g++.dg/init/array25.C trunk/gcc/testsuite/g++.dg/init/value4.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/init.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38233