This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/37906] has_trivial_default_constructor vs. deleted copy ctor



------- Comment #2 from jason at gcc dot gnu dot org  2008-12-04 19:01 -------
Subject: Bug 37906

Author: jason
Date: Thu Dec  4 19:00:03 2008
New Revision: 142442

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142442
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/defaulted6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37906


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]