PR c++/38233
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Nov 2008 23:35:37 +0000 (23:35 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Nov 2008 23:35:37 +0000 (23:35 +0000)
commit4404dc8210978cfa83172f5521dee25b5f6ac33b
treeaf46d0e75bd9fe9b716cf4cc892d56f23817d241
parent88c1bd47aca3f85ee2c8418a1c40c23e7ef6eb0f
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142265 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/array25.C [new file with mode: 0644]
gcc/testsuite/g++.dg/init/value4.C [new file with mode: 0644]