re PR c++/63362 (The c++11 triviality-traits need front-end help)
authorJason Merrill <jason@redhat.com>
Wed, 1 Oct 2014 17:21:01 +0000 (13:21 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 1 Oct 2014 17:21:01 +0000 (13:21 -0400)
commita710f1f83caee6e647bebf6b45743b276ac55cbf
tree618fa3a64a0ba515790e83375deeafc63a304d52
parentc790b7febcb60ce4b12292783be3b76566ad76e3
re PR c++/63362 (The c++11 triviality-traits need front-end help)

PR c++/63362
* class.c (type_has_non_user_provided_default_constructor): Rename
from type_has_user_provided_default_constructor, reverse sense.
(default_init_uninitialized_part, explain_non_literal_class): Adjust.
(check_bases_and_members): Set TYPE_HAS_COMPLEX_DFLT.
* call.c (build_new_method_call_1): Adjust.
* cp-tree.h: Adjust.
* decl.c (grok_special_member_properties): Don't set
TYPE_HAS_COMPLEX_DFLT.
* init.c (build_value_init_noctor): Don't use
type_has_user_provided_default_constructor.

From-SVN: r215771
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/init.c
gcc/testsuite/g++.dg/ext/is_trivially_constructible2.C [new file with mode: 0644]