[Bug libstdc++/38411] [4.4 Regression] Revision 142439 caused 22_locale/locale/cons/7.cc execution test
paolo dot carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Fri Dec 5 08:48:00 GMT 2008
------- Comment #6 from paolo dot carlini at oracle dot com 2008-12-05 08:47 -------
Yes, I'm not sure is the same issue. Anyway, the problem can only be in this
idea:
_M_data->_M_thousands_sep = *(__nl_langinfo_l(THOUSANDS_SEP,
__cloc));
...
if (_M_data->_M_thousands_sep == '\0')
{
_M_data->_M_thousands_sep = ',';
that is, we are trying to standardize on ',' (the same we have for the "C"
locale) in case the localedata is \0 for the thousands separator. Apparently
for some versions of glibc, it causes problems, I'm still trying to disentangle
the logic... Jakub, how does it sound to you?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38411
More information about the Gcc-bugs
mailing list