http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59926
--- Comment #2 from Patrick Arnoux ---
(In reply to Jonathan Wakely from comment #1)
> This looks like PR 57176
Thank you for the reference to PR 57676.
Delving into this a bit further, I found the following:
Derived f(Derived d) { return (d) ;
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: arnoux123 at gmail dot com
When returning an rvalue from a function, the compiler creates a temporary
using
"move constructor" before doing a "move assignment" to the o