This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26621] template Instanciation fails for -O1 -finline-functions
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Mar 2006 16:49:20 -0000
- Subject: [Bug c++/26621] template Instanciation fails for -O1 -finline-functions
- References: <bug-26621-12333@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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