https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98639
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Started with r278939 indeed. But note that return Derived{b}; is also accepted in C++17. So I think it's not a gcc bug, but maybe we need to clarify with the CWG.