[Bug c++/26621] Template instantiation fails for -O1 -finline-functions

2006-03-10 Thread _talyn_ at web dot de
--- Comment #5 from _talyn_ at web dot de 2006-03-10 13:54 --- Created an attachment (id=11015) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11015action=view) test case that shows the difference between dynamic/static alloc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26621

[Bug c++/26621] Template instantiation fails for -O1 -finline-functions

2006-03-10 Thread _talyn_ at web dot de
--- Comment #6 from _talyn_ at web dot de 2006-03-10 13:56 --- (From update of attachment 11015) Certainly, I see your point with respect to the get* methods, a hint in the g++-4.X release notes about the more aggressive inlining would probably be helpful. However, this doesn't

[Bug c++/26621] New: template Instanciation fails for -O3

2006-03-09 Thread _talyn_ at web dot de
Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: _talyn_ at web dot de GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug c++/26621] template Instanciation fails for -O3

2006-03-09 Thread _talyn_ at web dot de
--- Comment #1 from _talyn_ at web dot de 2006-03-09 16:33 --- Created an attachment (id=11013) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11013action=view) Test case consisting of a Makefile and three source files The makefile runs a compilation and linking with -O2 and -O3

[Bug c++/26621] template Instanciation fails for -O1 -finline-functions

2006-03-09 Thread _talyn_ at web dot de
--- Comment #3 from _talyn_ at web dot de 2006-03-09 18:06 --- Allocating the CVectorWrap variable dynamically removes the undefined reference to TTypeWrapper::~TTypeWrapper. I guess that's because it is virtual, and a dynamic instance of CVectorWrap will call CVectorWrap::~CVectorWrap