This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/16844] [3.5 Regression] Explicit instantiation failing


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]