https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86573
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Niall Douglas from comment #5) > 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? I guess so (same for -std=c++2a btw)