Core 1402
authorJason Merrill <jason@redhat.com>
Thu, 25 Oct 2012 15:54:00 +0000 (11:54 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 25 Oct 2012 15:54:00 +0000 (11:54 -0400)
commitf14edc1af5f9149d913221f39dc96980d7ac73a2
treebed8a193992a8a72ab5ff86d67559fc50a45b33e
parent57c3feb40a875ec85620513b49c758c6076a289a
Core 1402

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.

From-SVN: r192813
gcc/c-family/ChangeLog
gcc/c-family/c.opt
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/method.c
gcc/doc/invoke.texi
gcc/testsuite/g++.dg/cpp0x/defaulted37.C
gcc/testsuite/g++.dg/cpp0x/defaulted39.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/defaulted40.C [new file with mode: 0644]