https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65866
Matthijs van Duin <matthijsvanduin at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matthijsvanduin at gmail dot com --- Comment #6 from Matthijs van Duin <matthijsvanduin at gmail dot com> --- (In reply to Jonathan Wakely from comment #4) Note that this testcase, where the constructor takes trivially copyable prvalue arguments, actually still generates wrong code (so the diagnostic is technically still appropriate), while the original testcase in this bug generates correct code but emits a wrong diagnostic.