[Bug c++/86094] [8/9 Regression] Call ABI changed for small objects with defaulted ctor
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 11 11:51:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86094
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This changed with:
PR c++/80178 - parameter passing for uncopyable classes
* tree.c (type_has_nontrivial_copy_init): True for classes with
only
deleted copy/move ctors.
(remember_deleted_copy, maybe_warn_parm_abi): New.
* decl.c (require_complete_types_for_parms, check_function_type):
Call maybe_warn_parm_abi.
* call.c (convert_for_arg_passing, build_cxx_call): Likewise.
(Which didn't document -fabi-version=12 in invoke.texi)
More information about the Gcc-bugs
mailing list