diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2009-02-15 16:47:57 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2009-02-15 16:47:57 +0000 |
commit | bbcac3becb8dcc1cf5a8d65926ce15b296f4367c (patch) | |
tree | eb15a978460c1aaecb4876c6b96497177e6ac71a /gcc/tree-ssa-loop-unswitch.c | |
parent | 68c9ab451b8163597dee5ed2f7ee23859b9b453a (diff) | |
download | gcc-bbcac3becb8dcc1cf5a8d65926ce15b296f4367c.zip gcc-bbcac3becb8dcc1cf5a8d65926ce15b296f4367c.tar.gz gcc-bbcac3becb8dcc1cf5a8d65926ce15b296f4367c.tar.bz2 |
re PR libstdc++/39168 (Incorrect interpretation of CHAR_MAX inside grouping string in monetary and numeric facets.)
2009-02-15 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/39168
* src/locale_facets.cc (__verify_grouping(const char*, size_t,
const string&)): Also check that the value != CHAR_MAX.
* include/bits/locale_facets.tcc (__numpunct_cache<>::
_M_cache(const locale&), __add_grouping(_CharT*, _CharT,
const char*, size_t, const _CharT*, const _CharT*)): Likewise.
* include/bits/locale_facets_nonio.tcc (__moneypunct_cache<>::
_M_cache(const locale&)): Likewise.
* testsuite/22_locale/money_put/put/wchar_t/39168.cc: New.
* testsuite/22_locale/money_put/put/char/39168.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise.
* testsuite/22_locale/money_get/get/char/39168.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise.
* testsuite/22_locale/num_get/get/char/39168.cc: Likewise.
From-SVN: r144190
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions