This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61655] Copy constructor not called on CRTP schema
- From: "fabien dot picarougne at univ-nantes dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jun 2014 08:17:10 +0000
- Subject: [Bug c++/61655] Copy constructor not called on CRTP schema
- Auto-submitted: auto-generated
- References: <bug-61655-4 at http dot gcc dot gnu dot org/bugzilla/>
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?