http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48340
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-29 17:38:58 UTC --- (In reply to comment #0) > > (gdb) p str10 > $1 = {static npos = 4294967295, _M_dataplus = {<std::allocator<wchar_t>> = > {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>}, > _M_p = 0x1000e2f4 > L"\000\000\000s\000\000\000a\000\000\000i\000\000\000l\000\000\000i\000\000\000n\000\000\000g\000\000\000 extracting str10 doesn't seem to have stopped at the first whitespace character, implying a problem with the wchar_t equivalent of iswspace