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.