* decl.c (check_initializer): Set DECL_NONTRIVIALLY_INITIALIZED_P
commit74e797a99839997be8e8789eadb37c3967f4de80
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Oct 2012 23:57:18 +0000 (1 23:57 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Oct 2012 23:57:18 +0000 (1 23:57 +0000)
treefade546f48cfc9f3d33c59f96682e456be1a5368
parentc99756c14ee29f4da7482551766014b84ea58f8f
* decl.c (check_initializer): Set DECL_NONTRIVIALLY_INITIALIZED_P
for a constructor call.
(decl_jump_unsafe): So don't bother checking
type_has_nontrivial_default_init.
* call.c (set_up_extended_ref_temp): Set
DECL_NONTRIVIALLY_INITIALIZED_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191948 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/decl.c