https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86573
--- Comment #5 from Niall Douglas <s_gccbugzilla at nedprod dot com> --- Thanks for the rapid feedback. Very very interesting that -std=c++17 causes spew for the copy case https://godbolt.org/g/Xnrgg2, yet -std=c++14 or -std=c++11 does not. Is the -std=c++17 case worth opening a new bug report for?