gcc/libstdc++-v3/src
Paolo Carlini f20d2b7871 re PR libstdc++/12750 (time_get::_M_extract_via_format doesn't deal with 'e')
2003-10-27  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/12750
	* include/bits/locale_facets.tcc
	(time_get::_M_extract_via_format): Deal with code 'e'.
	* testsuite/22_locale/time_get/get_date/char/12750.cc: New.
	* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.

	* include/bits/locale_facets.tcc
	(time_get::_M_extract_via_format): Tweak to absolutely avoid
	dereferencing end iterators.

	* include/bits/locale_facets.h (__verify_grouping):
	Const-ify second parameter.
	* include/bits/locale_facets.tcc (__verify_grouping): Ditto.
	* src/locale-inst.cc (__verify_grouping): Ditto.

2003-10-27  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (num_get::_M_extract_float):
	Various things: 1- Avoid absolutely end iterator dereferences;
	2- Improve performance-wise the code skipping leading zeros;
	3- Fix two bugs wrt early bail out in case of parsing errors
	(see testcases); 4- General clean up.
	(num_get::_M_extract_int): Likewise, except 3-. Additionally,
	use __builtin_expect to favor base 10 inputs.
	* testsuite/22_locale/num_get/get/char/7.cc: New.
	* testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.

From-SVN: r72987
2003-10-27 16:21:14 +00:00
..
allocator-inst.cc allocator-inst.cc: Explicitly instantiate. 2003-06-13 05:45:57 +00:00
codecvt.cc [multiple changes] 2003-10-02 16:56:39 +00:00
complex_io.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
concept-inst.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
ctype.cc locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
demangle.cc demangle.h (demangle<Allocator>::symbol(char const*)): Decode symbols that start with _GLOBAL_[ID]_ differently... 2003-10-02 14:29:26 +00:00
ext-inst.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
fstream-inst.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
functexcept.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
globals_io.cc Makefile.am: Add new files. 2003-10-17 14:47:30 +00:00
globals_locale.cc Makefile.am: Add new files. 2003-10-17 14:47:30 +00:00
io-inst.cc [multiple changes] 2003-10-09 16:53:54 +00:00
ios_failure.cc [multiple changes] 2003-10-09 16:53:54 +00:00
ios_init.cc Makefile.am: Add new files. 2003-10-17 14:47:30 +00:00
ios_locale.cc Makefile.am: Add new files. 2003-10-17 14:47:30 +00:00
ios.cc Makefile.am: Add new files. 2003-10-17 14:47:30 +00:00
istream-inst.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
limits.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
locale_facets.cc Makefile.am: Add new files. 2003-10-17 14:47:30 +00:00
locale_init.cc locale.cc (locale::_S_initialize): Re-apply workaround a confusion of the use of the gthr API when... 2003-10-19 17:43:44 +00:00
locale-inst.cc re PR libstdc++/12750 (time_get::_M_extract_via_format doesn't deal with 'e') 2003-10-27 16:21:14 +00:00
locale-misc-inst.cc Makefile.am: Add new files. 2003-10-17 14:47:30 +00:00
locale.cc locale.cc: Tweak a comment. 2003-10-21 11:42:29 +00:00
localename.cc locale.cc: Tweak a comment. 2003-10-21 11:42:29 +00:00
Makefile.am Makefile.am: Add new files. 2003-10-17 14:47:30 +00:00
Makefile.in Makefile.am: Add new files. 2003-10-17 14:47:30 +00:00
misc-inst.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
ostream-inst.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
sstream-inst.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
stdexcept.cc * config/locale/gnu/ctype_members.cc 2002-12-27 23:03:03 +00:00
stl_tree.cc re PR libstdc++/11504 (-Wcast-qual vs. stl_tree) 2003-07-30 15:01:58 +00:00
streambuf-inst.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
string-inst.cc [multiple changes] 2003-10-09 16:53:54 +00:00
strstream.cc re PR libstdc++/11460 (Incorrect use of int_type in strstreambuf::pbackfail) 2003-10-12 20:03:18 +00:00
valarray-inst.cc strstream: Remove namespace std. 2002-07-01 19:58:42 +00:00
wlocale-inst.cc Makefile.am: Add new files. 2003-10-17 14:47:30 +00:00
wstring-inst.cc Makefile.am: Add new files. 2003-10-17 14:47:30 +00:00