]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/39109
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2009 21:46:18 +0000 (21:46 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2009 21:46:18 +0000 (21:46 +0000)
commita63dcad5a0347429734a23bbae878387bfbe9594
tree82fa13f1148b5e6f8aca8bed6ab67a8e148af277
parent725c6dd99632c882f3b0312976332bb31145488e
    PR c++/39109
        * semantics.c (simplify_aggr_init_expr): Do zero-initialization here.
        * init.c (build_value_init): Not here. Don't build a TARGET_EXPR.
        * tree.c (get_target_expr): Handle AGGR_INIT_EXPR.
        * cp-gimplify.c (cp_gimplify_init_expr): Remove special handling
        for build_value_init TARGET_EXPR.
        * cp-tree.h (AGGR_INIT_ZERO_FIRST): New macro.

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