This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r161581 - in /trunk/gcc: cp/ChangeLog cp/class....
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 30 Jun 2010 00:51:33 -0000
- Subject: r161581 - in /trunk/gcc: cp/ChangeLog cp/class....
Author: jason
Date: Wed Jun 30 00:51:29 2010
New Revision: 161581
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161581
Log:
Enable implicitly deleted functions (N2346)
* class.c (check_bases_and_members): Adjust lambda flags.
* method.c (implicitly_declare_fn): Set DECL_DELETED_FN if appropriate.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/defaulted17.C
trunk/gcc/testsuite/g++.dg/cpp0x/implicit1.C
trunk/gcc/testsuite/g++.dg/cpp0x/implicit2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/method.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ctor-neg.C
trunk/gcc/testsuite/g++.dg/ext/has_virtual_destructor.C
trunk/gcc/testsuite/g++.dg/init/ctor4.C
trunk/gcc/testsuite/g++.dg/init/synth2.C
trunk/gcc/testsuite/g++.dg/lto/20081118_1.C
trunk/gcc/testsuite/g++.dg/other/error13.C
trunk/gcc/testsuite/g++.dg/other/unused1.C
trunk/gcc/testsuite/g++.old-deja/g++.bob/inherit2.C
trunk/gcc/testsuite/g++.old-deja/g++.bugs/900205_04.C
trunk/gcc/testsuite/g++.old-deja/g++.jason/opeq3.C
trunk/gcc/testsuite/g++.old-deja/g++.law/ctors17.C
trunk/gcc/testsuite/g++.old-deja/g++.oliva/delete1.C
trunk/gcc/testsuite/g++.old-deja/g++.pt/assign1.C
trunk/gcc/testsuite/g++.old-deja/g++.pt/crash20.C