gcc/libstdc++-v3/include/bits
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
..
allocator.h allocator.h: Change ___glibcxx_base_allocator to __glibcxx_base_allocator. 2005-05-24 20:28:55 +00:00
atomicity.h Add memory barriers to the double-checked locking used for static initialization. 2004-12-27 23:36:54 -05:00
basic_ios.h re PR libstdc++/12854 (libstdc++ vs. -Weffc++) 2004-05-22 23:46:34 +00:00
basic_ios.tcc doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
basic_string.h re PR libstdc++/21770 (rebinding allocator::value type vs. container::value_type) 2005-06-03 17:07:48 +00:00
basic_string.tcc revert: re PR libstdc++/19495 (basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep) 2005-05-28 21:57:03 +00:00
boost_concept_check.h boost_concept_check.h (struct _SequenceConcept): Remove wrong requirement, i.e., not present in Table 67. 2004-09-23 09:13:29 +00:00
c++config c++config: Remove extern template use when in debug mode, disable for non-weak systems. 2005-05-27 16:09:15 +00:00
char_traits.h re PR libstdc++/22109 (/home/dave/opt/gnu/bin/ld: BFD 2.16.91 20050612 internal error) 2005-06-23 18:49:00 +02:00
codecvt.h acinclude.m4: Remove CCODECVT_H. 2005-01-07 19:34:46 +00:00
concept_check.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
concurrence.h doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
cpp_type_traits.h PR libstdc++/21244 (cont) 2005-04-28 07:50:48 +00:00
deque.tcc [multiple changes] 2005-06-06 16:59:55 +00:00
fstream.tcc re PR libstdc++/21955 (std::stringbuf vs. in_avail) 2005-06-08 17:29:44 +00:00
functexcept.h re PR libstdc++/19343 (New warnings in libstdc++-v3 since 2004-01-05) 2005-01-23 10:45:01 +00:00
gslice.h gslice.h: Trivial formatting fixes. 2004-07-08 20:48:04 +00:00
gslice_array.h gslice.h: Trivial formatting fixes. 2004-07-08 20:48:04 +00:00
indirect_array.h indirect_array.h: Trivial formatting fixes. 2004-08-16 14:50:31 +00:00
ios_base.h locale_facets.h (isspace, [...]): Add doxygen markup. 2004-11-23 09:18:41 +00:00
istream.tcc istream.cc (basic_istream<char>::ignore(streamsize), [...]): In case more than numeric_limits<streamsize>::max() chars are skipped... 2005-01-11 23:35:43 +00:00
list.tcc [multiple changes] 2005-06-06 16:59:55 +00:00
locale_classes.h basic_string.h, [...]: Doxygen fixes. 2004-11-21 13:16:24 +00:00
locale_facets.h re PR libstdc++/19955 (Second std::ctype<char>::narrow() does not call std::ctype<char>::do_narrow()) 2005-02-15 23:29:52 +00:00
locale_facets.tcc re PR libstdc++/22131 (std::num_get fails for input with invalid groups) 2005-06-29 11:48:53 +00:00
localefwd.h Remove trailing whitespace (see ChangeLog for longwinded description). 2004-02-08 05:46:42 +01:00
mask_array.h gslice.h: Trivial formatting fixes. 2004-07-08 20:48:04 +00:00
ostream.tcc doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
postypes.h re PR libstdc++/14320 (istreambuf_iterator::difference_type is not a signed integral type) 2004-03-03 00:22:05 +00:00
slice_array.h gslice.h: Trivial formatting fixes. 2004-07-08 20:48:04 +00:00
sstream.tcc doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
stl_algo.h [multiple changes] 2005-05-24 22:53:43 +00:00
stl_algobase.h stl_algo.h (__rotate<_RandomAccessIterator>): Don't qualify __tmp as const, _ValueType is not necessarily Assignable. 2005-05-20 08:58:23 +00:00
stl_bvector.h re PR libstdc++/18604 (Use of unqualified names conflict with names in global namespace) 2005-05-10 01:58:19 +00:00
stl_construct.h cpp_type_traits.h: Add types to the structs thus making type_traits.h redundant... 2005-01-31 16:22:01 +00:00
stl_deque.h [multiple changes] 2005-06-06 16:59:55 +00:00
stl_function.h [multiple changes] 2005-06-17 21:51:34 +00:00
stl_heap.h Remove trailing whitespace (see ChangeLog for longwinded description). 2004-02-08 05:46:42 +01:00
stl_iterator.h Remove trailing whitespace (see ChangeLog for longwinded description). 2004-02-08 05:46:42 +01:00
stl_iterator_base_funcs.h Remove trailing whitespace (see ChangeLog for longwinded description). 2004-02-08 05:46:42 +01:00
stl_iterator_base_types.h stl_iterator_base_funcs.h: Minor formatting and indentation tweaks. 2004-02-03 17:59:05 +00:00
stl_list.h [multiple changes] 2005-06-06 16:59:55 +00:00
stl_map.h re PR libstdc++/21770 (rebinding allocator::value type vs. container::value_type) 2005-06-03 17:07:48 +00:00
stl_multimap.h re PR libstdc++/21770 (rebinding allocator::value type vs. container::value_type) 2005-06-03 17:07:48 +00:00
stl_multiset.h re PR libstdc++/21770 (rebinding allocator::value type vs. container::value_type) 2005-06-03 17:07:48 +00:00
stl_numeric.h stl_numeric.h (partial_sum, [...]): Avoid dereferencing two times __first in the prologue. 2004-11-03 22:22:34 +00:00
stl_pair.h basic_string.h: Trivial formatting fixes and/or const-ification of some variables. 2004-07-04 17:57:58 +00:00
stl_queue.h Remove trailing whitespace (see ChangeLog for longwinded description). 2004-02-08 05:46:42 +01:00
stl_raw_storage_iter.h Remove trailing whitespace (see ChangeLog for longwinded description). 2004-02-08 05:46:42 +01:00
stl_relops.h Remove trailing whitespace (see ChangeLog for longwinded description). 2004-02-08 05:46:42 +01:00
stl_set.h re PR libstdc++/21770 (rebinding allocator::value type vs. container::value_type) 2005-06-03 17:07:48 +00:00
stl_stack.h Remove trailing whitespace (see ChangeLog for longwinded description). 2004-02-08 05:46:42 +01:00
stl_tempbuf.h cpp_type_traits.h: Add types to the structs thus making type_traits.h redundant... 2005-01-31 16:22:01 +00:00
stl_tree.h re PR libstdc++/22102 ([DR233] Implement resolution of DR 233) 2005-06-27 16:35:49 +00:00
stl_uninitialized.h cpp_type_traits.h: Add types to the structs thus making type_traits.h redundant... 2005-01-31 16:22:01 +00:00
stl_vector.h [multiple changes] 2005-06-06 16:59:55 +00:00
stream_iterator.h Remove trailing whitespace (see ChangeLog for longwinded description). 2004-02-08 05:46:42 +01:00
streambuf.tcc doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
streambuf_iterator.h 2004-11-24 Nathan Myers <ncm@cantrip.org> 2004-11-24 17:01:22 +00:00
stringfwd.h Remove trailing whitespace (see ChangeLog for longwinded description). 2004-02-08 05:46:42 +01:00
valarray_after.h basic_string.h, [...]: Doxygen fixes. 2004-11-21 13:16:24 +00:00
valarray_array.h cpp_type_traits.h: Rename _M_type fields to __value... 2005-02-01 13:30:34 +00:00
valarray_array.tcc doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
valarray_before.h basic_string.h, [...]: Doxygen fixes. 2004-11-21 13:16:24 +00:00
vector.tcc re PR libstdc++/21770 (rebinding allocator::value type vs. container::value_type) 2005-06-03 17:07:48 +00:00