PR c++/86094 - wrong code with defaulted move ctor.
commita1dbee6137d315853694717e079670acda7ea5ac
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jun 2018 19:39:36 +0000 (13 19:39 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jun 2018 19:39:36 +0000 (13 19:39 +0000)
tree7e4dadbab05c5400b398730714c7858cd3f9950a
parentf61fa2ece67e406695f873e006f46700bcbd2257
PR c++/86094 - wrong code with defaulted move ctor.

gcc/c-family/
* c-opts.c (c_common_post_options): Bump the current ABI version to
13.  Set warn_abi_version and flag_abi_compat_version to the current
version rather than 0.  Fix defaulting flag_abi_compat_version from
warn_abi_version.
gcc/cp/
* class.c (classtype_has_non_deleted_move_ctor): New.
* tree.c (maybe_warn_parm_abi, type_has_nontrivial_copy_init):
Handle v12 breakage.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261562 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/common.opt
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/tree.c
gcc/doc/invoke.texi
gcc/testsuite/g++.dg/abi/invisiref2a.C [new file with mode: 0644]
gcc/testsuite/g++.dg/abi/macro0.C