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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| allocator-inst.cc | Loading commit data... | |
| codecvt.cc | Loading commit data... | |
| complex_io.cc | Loading commit data... | |
| concept-inst.cc | Loading commit data... | |
| ctype.cc | Loading commit data... | |
| demangle.cc | Loading commit data... | |
| ext-inst.cc | Loading commit data... | |
| fstream-inst.cc | Loading commit data... | |
| functexcept.cc | Loading commit data... | |
| globals_io.cc | Loading commit data... | |
| globals_locale.cc | Loading commit data... | |
| io-inst.cc | Loading commit data... | |
| ios.cc | Loading commit data... | |
| ios_failure.cc | Loading commit data... | |
| ios_init.cc | Loading commit data... | |
| ios_locale.cc | Loading commit data... | |
| istream-inst.cc | Loading commit data... | |
| limits.cc | Loading commit data... | |
| locale-inst.cc | Loading commit data... | |
| locale-misc-inst.cc | Loading commit data... | |
| locale.cc | Loading commit data... | |
| locale_facets.cc | Loading commit data... | |
| locale_init.cc | Loading commit data... | |
| localename.cc | Loading commit data... | |
| misc-inst.cc | Loading commit data... | |
| ostream-inst.cc | Loading commit data... | |
| sstream-inst.cc | Loading commit data... | |
| stdexcept.cc | Loading commit data... | |
| stl_tree.cc | Loading commit data... | |
| streambuf-inst.cc | Loading commit data... | |
| string-inst.cc | Loading commit data... | |
| strstream.cc | Loading commit data... | |
| valarray-inst.cc | Loading commit data... | |
| wlocale-inst.cc | Loading commit data... | |
| wstring-inst.cc | Loading commit data... |