PR c++/50866
commit3f1ab65c7a6934c38a3a7ab9c48e8f3f76783f78
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Oct 2011 18:24:28 +0000 (25 18:24 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Oct 2011 18:24:28 +0000 (25 18:24 +0000)
tree5895a2df3e28a6de8edc59ef0ff6cc7b4434707f
parente4e0384899fdf4100f46438990234b78b1f323f7
PR c++/50866
PR c++/41449
* semantics.c (maybe_cleanup_point_expr_void): No longer static.
* typeck2.c (split_nonconstant_init_1): Use it.
* cp-tree.h: Declare it.
* decl.c (wrap_cleanups_r): Stop at CLEANUP_POINT_EXPR.

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