--- 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
--- 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
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
--- 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
--- 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