This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r146538 - in /branches/gcc-4_4-branch/libstdc++...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Tue, 21 Apr 2009 20:26:47 -0000
- Subject: r146538 - in /branches/gcc-4_4-branch/libstdc++...
Author: paolo
Date: Tue Apr 21 20:26:46 2009
New Revision: 146538
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146538
Log:
2009-04-21 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/39802
* include/bits/locale_facets.tcc (num_get<>::_M_extract_int
(_InIter, _InIter, ios_base&, ios_base::iostate&, _ValueT&)):
Always accept negative values, for unsigned types too.
* testsuite/22_locale/num_get/get/char/39802.cc: New.
* testsuite/22_locale/num_get/get/wchar_t/39802.cc: Likewise.
Added:
branches/gcc-4_4-branch/libstdc++-v3/testsuite/22_locale/num_get/get/char/39802.cc
branches/gcc-4_4-branch/libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/39802.cc
Modified:
branches/gcc-4_4-branch/libstdc++-v3/ChangeLog
branches/gcc-4_4-branch/libstdc++-v3/include/bits/locale_facets.tcc