https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> --- It was fixed by: PR c++/89381 - implicit copy and using-declaration. Here the used base<int>::operator= gets into the list of foo's bindings for operator=, but it shouldn't make the copy ctor deleted. * class.c (classtype_has_move_assign_or_move_ctor_p): Don't consider op= brought in by a using-declaration. From-SVN: r269442 Looks like a dup of PR c++/89381. That fix has also been backported for GCC 8.4 *** This bug has been marked as a duplicate of bug 89381 ***