This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r192813 - in /trunk/gcc: c-family/ChangeLog c-f...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 25 Oct 2012 15:54:01 -0000
- Subject: r192813 - in /trunk/gcc: c-family/ChangeLog c-f...
Author: jason
Date: Thu Oct 25 15:54:00 2012
New Revision: 192813
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192813
Log:
Core 1402
cp/
* call.c (joust): An implicitly deleted move function is
worse than any non-deleted function.
* method.c (process_subob_fn): No special rules for move.
(synthesized_method_walk, implicitly_declare_fn): Likewise.
Warn about virtual base with non-trivial move assignment.
* cp-tree.h (struct lang_decl_fn): Remove suppress_implicit_decl.
(FNDECL_SUPPRESS_IMPLICIT_DECL): Remove.
c-family/
* c.opt (Wvirtual-move-assign): New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/defaulted39.C
trunk/gcc/testsuite/g++.dg/cpp0x/defaulted40.C
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c.opt
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/method.c
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/g++.dg/cpp0x/defaulted37.C