gcc/libstdc++-v3/testsuite/22_locale
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
..
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 locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
collate_byname locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
ctype locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +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 re PR libstdc++/9874 (filebuf::seekpos fails if codecvt::encoding() <= 0) 2003-10-09 16:11:40 +00:00
messages locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
messages_byname locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
money_get locale_facets.tcc (money_get::do_get(..., long double&): Properly size the temporary buffer. 2003-10-24 22:51:15 +00:00
money_put 1.cc: Clean up. 2003-10-26 10:33:30 +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++/12750 (time_get::_M_extract_via_format doesn't deal with 'e') 2003-10-27 16:21:14 +00:00
num_put locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
numpunct locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
numpunct_byname locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
time_get re PR libstdc++/12750 (time_get::_M_extract_via_format doesn't deal with 'e') 2003-10-27 16:21:14 +00:00
time_put re PR libstdc++/12439 (Problems in time_put::put) 2003-10-01 14:32:05 +00:00