[Bug libstdc++/48465] [4.6/4.7 Regression] undefined reference to std::basic_string::_S_compare(unsigned long, unsigned long)
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 6 13:00:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48465
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |libstdc++
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-06 13:00:28 UTC ---
If the class is explicitly instantiated we probably do not emit an out-of-line
copy of the static (dependent) function. And I see
extern template class basic_string<char>;
in bits/basic_string.tcc, so it seems to be a library bug after all.
More information about the Gcc-bugs
mailing list