https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106584
--- Comment #5 from Devourer Station <accelerator0099 at gmail dot com> --- (In reply to Andrew Pinski from comment #4) > Actually clang references the call: > f(cl); > > When it comes to the copy constructor. At least it tells you about where the error is, otherwise you may fall into thousands of lines of source code without knowing where to edit