gcc/libstdc++-v3/testsuite/22_locale
Paolo Carlini 44ecf60364 re PR libstdc++/21209 (signed integer overflow in num_get<>::_M_extract_int)
2005-04-26  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/21209
	* include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
	integer overflow, always use a suited unsigned type in the main
	parsing loop.
	(struct __to_unsigned_type): New.
	* testsuite/22_locale/num_get/get/char/16.cc: New.
	* testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.

From-SVN: r98768
2005-04-26 09:31:07 +00:00
..
codecvt locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
codecvt_byname locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
collate 2.cc, [...]: XFAIL on *-*-hpux11.23. 2005-03-05 01:44:43 +00:00
collate_byname locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
ctype binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
ctype_base locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
ctype_byname locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
facet locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
global_templates locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
locale 12658_thread-1.cc: Don't XFAIL on GNU/Linux. 2005-03-10 11:08:38 +11:00
messages 1.cc: Remove junk. 2004-04-09 10:18:33 +00:00
messages_byname locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
money_get re PR libstdc++/12854 (libstdc++ vs. -Weffc++) 2004-05-22 23:46:34 +00:00
money_put 1.cc: Use proper wchar_t type for the fill argument; minor formatting tweaks. 2004-08-21 11:56:46 +00:00
moneypunct locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
moneypunct_byname locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
num_get re PR libstdc++/21209 (signed integer overflow in num_get<>::_M_extract_int) 2005-04-26 09:31:07 +00:00
num_put re PR libstdc++/20914 (Another grouping trouble) 2005-04-17 14:30:37 +00:00
numpunct pod_char_traits.h (__gnu_cxx::character): Add char_type. 2005-04-15 02:06:26 +00:00
numpunct_byname locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
time_get 1.cc: In the checks use... 2004-11-19 21:48:21 +00:00
time_put 2.cc: Fix typo. 2004-11-27 09:34:06 +00:00