PR c++/37906
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Dec 2008 19:00:03 +0000 (19:00 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Dec 2008 19:00:03 +0000 (19:00 +0000)
commitb96a096a1c359c859a21113885fb0579be36ade5
tree175fb67e45c27c46f67a8bee4a79a8b083beec40
parentd4a7d1d0237e04628f06f14aaee4d739e3d3dcae
    PR c++/37906
        * decl.c (grok_special_member_properties): Set TYPE_HAS_COMPLEX_DFLT
        here.
        * class.c (check_bases_and_members): Rather than assuming any
        user-declared default constructor is complex here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142442 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/defaulted6.C [new file with mode: 0644]