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

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 9 16:49:00 GMT 2006



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-09 16:49 -------
I don't think this is a bug.  We are inlining CVectorWrap::~CVectorWrap into
main which causes the reference to TTypeWrapper::~TTypeWrapper and
TTypeWrapper::~TTypeWrapper is not used in instance.cc at all so it is not
emitted.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26621



More information about the Gcc-bugs mailing list