]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/57319 (bogus "defaulted move assignment for ... calls a non-trivial move...
authorJason Merrill <jason@redhat.com>
Mon, 20 May 2013 17:01:16 +0000 (13:01 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 May 2013 17:01:16 +0000 (13:01 -0400)
commit32bfcf80647d3fd3a658c7032a5aebe767341893
treea77eab61162ca3bdde85d7a9b12497eb29a58625
parent9f0bdc935f2199a2247b9d30858a9262d1a6bfa8
re PR c++/57319 (bogus "defaulted move assignment for ... calls a non-trivial move assignment operator for virtual base ...")

PR c++/57319
* class.c (vbase_has_user_provided_move_assign): New.
* method.c (synthesized_method_walk): Check it.
* cp-tree.h: Declare it.

From-SVN: r199114
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/method.c
gcc/testsuite/g++.dg/cpp0x/defaulted44.C [new file with mode: 0644]