[Bug c++/61655] Copy constructor not called on CRTP schema

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 30 07:46:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61655

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Try -fno-elide-constructors. Why would you want a copy? Is it because of the
parentheses in the return statement that you expect elision not to be
performed?



More information about the Gcc-bugs mailing list