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

fabien.picarougne@univ-nantes.fr gcc-bugzilla@gcc.gnu.org
Mon Jun 30 08:17:00 GMT 2014


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

--- Comment #3 from Fabien Picarougne <fabien.picarougne@univ-nantes.fr> ---
This code is minimal and is just here to illustrate the problem, I use a more
complex one to handle generic matrix.
But The copy constructor here is not neutral, there is an output on stdout. So
I think, the optimization should not take place here, isn't it?



More information about the Gcc-bugs mailing list