This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/16844] [3.5 Regression] Explicit instantiation failing
- From: "austern at apple dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Aug 2004 22:53:09 -0000
- Subject: [Bug libstdc++/16844] [3.5 Regression] Explicit instantiation failing
- References: <20040731102221.16844.larsbj@lyx.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From austern at apple dot com 2004-08-01 22:53 -------
That's a correct fix, but it's not the best fix.
This is a bug in an unused private member function. (For history buffs: it was once an auxiliary
member function for an SGI extension. We removed the extension itself, but neglected to get around to
removing the auxiliary that it used.) So the best fix is to remove it.
And, of course: the reason we are seeing a bug in an unused member function is that we're doing an
explicit instantiation. Conclusion: our test suite needs to do explicit instantiations, not just tests of
correct functionality.
I'm testing a patch now, including the new test cases.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16844