gcc/libstdc++-v3/testsuite/27_io/basic_istream
Paolo Carlini d04e9b7fef re PR libstdc++/22131 (std::num_get fails for input with invalid groups)
2005-06-29  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/22131
	* include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
	num_get<>::_M_extract_float, money_get<>::_M_extract):
	Adjust to assign the result also when digit grouping is
	wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
	(NB: consistently for money_get too).
	* config/locale/generic/c_locale.cc (__convert_from_v): Do
	not check ios_base::failbit at the outset.
	* config/locale/gnu/c_locale.cc: Likewise.
	* testsuite/22_locale/money_get/get/char/22131.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
	* testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
	* testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
	* testsuite/22_locale/num_get/get/char/12.cc: Adjust.
	* testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
	Likewise.

From-SVN: r101416
2005-06-29 11:48:53 +00:00
..
exceptions 9561.cc: New. 2004-12-19 21:57:28 +00:00
extractors_arithmetic re PR libstdc++/22131 (std::num_get fails for input with invalid groups) 2005-06-29 11:48:53 +00:00
extractors_character pod_char_traits.h (__gnu_cxx::character): Add char_type. 2005-04-15 02:06:26 +00:00
extractors_other pod_char_traits.h (__gnu_cxx::character): Add char_type. 2005-04-15 02:06:26 +00:00
get 1.cc: New. 2004-12-01 15:46:58 +00:00
getline 5.cc: Make buf static. 2005-02-07 22:56:11 +00:00
ignore istream.cc (basic_istream<char>::ignore(streamsize), [...]): Revert 2005-01-05 change... 2005-01-11 16:48:14 +00:00
peek 1.cc: New. 2004-12-20 11:26:24 +00:00
putback 1.cc: New. 2004-12-20 11:26:24 +00:00
read 1.cc: New. 2004-12-20 11:26:24 +00:00
readsome 1.cc: New. 2004-12-20 11:26:24 +00:00
seekg 1.cc: New. 2004-12-20 11:26:24 +00:00
sentry pod_char_traits.h (__gnu_cxx::character): Add char_type. 2005-04-15 02:06:26 +00:00
tellg 1.cc: New. 2004-12-20 11:26:24 +00:00
ws 1.cc: New. 2004-12-20 11:26:24 +00:00
1.cc Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
2.cc test.html: Update. 2005-04-07 04:16:26 +00:00
3.cc locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
4.cc re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00