https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86094
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Mon Jun 11 18:40:14 2018 New Revision: 261445 URL: https://gcc.gnu.org/viewcvs?rev=261445&root=gcc&view=rev Log: PR c++/86094 - wrong code with defaulted move ctor. * tree.c (type_has_nontrivial_copy_init): Fix move ctor handling. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/abi/invisiref2.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/tree.c