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++/44909] [C++0x] Copy constructors implicitly deleted



------- Comment #1 from jason at gcc dot gnu dot org  2010-07-13 22:24 -------
Subject: Bug 44909

Author: jason
Date: Tue Jul 13 22:23:49 2010
New Revision: 162159

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162159
Log:
        PR c++/44909
        * cp-tree.h (struct lang_type_class): Add has_user_opeq.
        (TYPE_HAS_USER_OPEQ): New.
        * decl.c (grok_special_member_properties): Set it.
        * class.c (add_implicitly_declared_members): Don't lazily declare
        constructors/operator= if a base or member has a user-declared one.
        (check_bases_and_members, check_bases): Adjust.
        (check_field_decls, check_field_decl): Adjust.
        * method.c (synthesized_method_walk): Initialize check_vdtor.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/implicit6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/method.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/error28.C


-- 


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


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