r261562 - in /trunk/gcc: c-family/ChangeLog c-f...

jason@gcc.gnu.org jason@gcc.gnu.org
Wed Jun 13 19:39:00 GMT 2018


Author: jason
Date: Wed Jun 13 19:39:36 2018
New Revision: 261562

URL: https://gcc.gnu.org/viewcvs?rev=261562&root=gcc&view=rev
Log:
	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.

Added:
    trunk/gcc/testsuite/g++.dg/abi/invisiref2a.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-opts.c
    trunk/gcc/common.opt
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/tree.c
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/g++.dg/abi/macro0.C



More information about the Gcc-cvs mailing list