diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-07 00:22:51 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-07 00:22:51 +0000 |
commit | e5df00a3b95587137cee68dc91189aa80777d49d (patch) | |
tree | 4c72dfc64a8a21dead648354eaf800ea69e50865 /libstdc++-v3/testsuite/lib | |
parent | 9a5fddda997a4f6bfe006628d28b792b445ee6d0 (diff) | |
download | ppe42-gcc-e5df00a3b95587137cee68dc91189aa80777d49d.tar.gz ppe42-gcc-e5df00a3b95587137cee68dc91189aa80777d49d.zip |
2010-01-06 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/26701
* include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num):
Encode short two digits over four parsings to negative numbers.
(time_get<>::_M_extract_via_format): Adjust, accept both two digits
and four digits for both 'y' and 'Y'.
(time_get<>::do_get_year): Call time_get<>::_M_extract_num.
* doc/xml/manual/prerequisites.xml: Add en_GB.
* testsuite/lib/libstdc++.exp: Adjust
* testsuite/22_locale/time_get/get_date/char/26701.cc: New.
* testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155685 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/lib')
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 09cae6d8077..45a43dea5fd 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -869,6 +869,7 @@ proc check_v3_target_namedlocale { } { puts $f " locale(\"de_DE\");" puts $f " locale(\"de_DE.ISO-8859-15@euro\");" puts $f " locale(\"de_DE@euro\");" + puts $f " locale(\"en_GB\");" puts $f " locale(\"en_HK\");" puts $f " locale(\"en_PH\");" puts $f " locale(\"en_US\");" |