https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Raphael Kubo da Costa from comment #7) > Is it relevant that your testcase builds fine when G's copy constructor is > inlined? Yes, it seems to be. The checks done for the out-of-class defaulted definition fail for bogus reasons.