gcc/libstdc++-v3/testsuite
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
..
17_intro re PR libstdc++/20534 (Erroneous #include of <cassert>) 2005-05-27 15:01:45 +00:00
18_support numeric_limits.cc (dg-options): Add -mieee to options on sh*-*-*. 2005-05-13 00:23:28 +00:00
19_diagnostics
20_util [multiple changes] 2005-06-17 21:51:34 +00:00
21_strings PR libstdc++/21770 (cont: __gnu_debug::string) 2005-06-07 02:55:06 +00:00
22_locale re PR libstdc++/22131 (std::num_get fails for input with invalid groups) 2005-06-29 11:48:53 +00:00
23_containers [multiple changes] 2005-06-06 16:59:55 +00:00
24_iterators binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
25_algorithms [multiple changes] 2005-05-24 22:53:43 +00:00
26_numerics re PR libstdc++/13943 (call of overloaded `llabs(int)' is ambiguous) 2005-05-26 15:46:48 +00:00
27_io re PR libstdc++/22131 (std::num_get fails for input with invalid groups) 2005-06-29 11:48:53 +00:00
backward
config
data
demangle
ext documentation.html: Add link for policy based associative containers docs. 2005-06-27 15:33:38 +00:00
lib re PR libstdc++/22111 (libstdc++ abi_check) 2005-06-20 06:48:28 +00:00
libstdc++-abi re PR libstdc++/22111 (libstdc++ abi_check) 2005-06-20 06:48:28 +00:00
libstdc++-dg test.html: Mention PCH_CXXFLAGS. 2005-05-27 16:24:59 +00:00
performance documentation.html: Add link for policy based associative containers docs. 2005-06-27 15:33:38 +00:00
thread binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
tr1 type_traits (is_convertible): Adjust according to the resolution of TR1 issue 3.20. 2005-04-28 22:35:09 +00:00
Makefile.am documentation.html: Add link for policy based associative containers docs. 2005-06-27 15:33:38 +00:00
Makefile.in Makefile.in: Set and use UNWIND_H. 2005-06-28 19:52:27 +00:00
testsuite_abi_check.cc test.html: Update. 2005-04-07 04:16:26 +00:00
testsuite_abi.cc [multiple changes] 2005-06-17 07:33:56 +00:00
testsuite_abi.h [multiple changes] 2005-06-17 07:33:56 +00:00
testsuite_allocator.cc
testsuite_allocator.h
testsuite_character.cc re PR libstdc++/21238 (conflicting "typedef __numpunct_cache<_CharT> __cache_type;" in std::numpunct<CharT> makes specialization impossible) 2005-04-29 18:50:00 +00:00
testsuite_character.h re PR libstdc++/21238 (conflicting "typedef __numpunct_cache<_CharT> __cache_type;" in std::numpunct<CharT> makes specialization impossible) 2005-04-29 18:50:00 +00:00
testsuite_common_types.h documentation.html: Add link for policy based associative containers docs. 2005-06-27 15:33:38 +00:00
testsuite_hooks.cc testsuite_hooks.cc: Remove try_named_locale. 2005-05-18 08:07:32 +00:00
testsuite_hooks.h [multiple changes] 2005-06-06 16:59:55 +00:00
testsuite_io.h
testsuite_iterators.h [multiple changes] 2005-05-24 10:58:22 +00:00
testsuite_performance.h
testsuite_tr1.h type_traits (has_trivial_copy, [...]): Adjust according to the resolution of TR1 issue 3.21. 2005-04-27 15:08:57 +00:00
testsuite_visualization.h documentation.html: Add link for policy based associative containers docs. 2005-06-27 15:33:38 +00:00