testsuite_hooks.cc: Remove try_named_locale.
authorPaolo Carlini <pcarlini@suse.de>
Wed, 18 May 2005 08:07:32 +0000 (08:07 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 18 May 2005 08:07:32 +0000 (08:07 +0000)
2005-05-18  Paolo Carlini  <pcarlini@suse.de>

* testsuite/testsuite_hooks.cc: Remove try_named_locale.
* testsuite/testsuite_hooks.h: Remove try_named_locale.
* testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
* testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
the above.
* testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
dg-require-namedlocale.
* testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
Likewise.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
Likewise.
* testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/collate/compare/char/1.cc: Likewise.
* testsuite/22_locale/collate/compare/char/2.cc: Likewise.
* testsuite/22_locale/collate/compare/char/3.cc: Likewise.
* testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
* testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
* testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
* testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/collate/hash/char/2.cc: Likewise.
* testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
* testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/collate/transform/char/2.cc: Likewise.
* testsuite/22_locale/collate/transform/char/3.cc: Likewise.
* testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
* testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
* testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
Likewise.
* testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
* testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/ctype/is/char/2.cc: Likewise.
* testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
* testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
* testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
* testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
* testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/facet/2.cc: Likewise.
* testsuite/22_locale/locale/cons/12352.cc: Likewise.
* testsuite/22_locale/locale/cons/12438.cc: Likewise.
* testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
* testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
* testsuite/22_locale/locale/cons/2.cc: Likewise.
* testsuite/22_locale/locale/cons/4.cc: Likewise.
* testsuite/22_locale/locale/cons/5.cc: Likewise.
* testsuite/22_locale/locale/cons/7.cc: Likewise.
* testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
* testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
* testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
* testsuite/22_locale/messages/members/char/1.cc: Likewise.
* testsuite/22_locale/messages/members/char/2.cc: Likewise.
* testsuite/22_locale/messages/members/char/3.cc: Likewise.
* testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
* testsuite/22_locale/money_get/get/char/1.cc: Likewise.
* testsuite/22_locale/money_get/get/char/10.cc: Likewise.
* testsuite/22_locale/money_get/get/char/11.cc: Likewise.
* testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
* testsuite/22_locale/money_get/get/char/12.cc: Likewise.
* testsuite/22_locale/money_get/get/char/13.cc: Likewise.
* testsuite/22_locale/money_get/get/char/15.cc: Likewise.
* testsuite/22_locale/money_get/get/char/16.cc: Likewise.
* testsuite/22_locale/money_get/get/char/17.cc: Likewise.
* testsuite/22_locale/money_get/get/char/18.cc: Likewise.
* testsuite/22_locale/money_get/get/char/2.cc: Likewise.
* testsuite/22_locale/money_get/get/char/3.cc: Likewise.
* testsuite/22_locale/money_get/get/char/4.cc: Likewise.
* testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/money_put/put/char/1.cc: Likewise.
* testsuite/22_locale/money_put/put/char/2.cc: Likewise.
* testsuite/22_locale/money_put/put/char/3.cc: Likewise.
* testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
* testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
* testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
* testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
Likewise.
* testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
* testsuite/22_locale/num_get/get/char/1.cc: Likewise.
* testsuite/22_locale/num_get/get/char/3.cc: Likewise.
* testsuite/22_locale/num_get/get/char/5.cc: Likewise.
* testsuite/22_locale/num_get/get/char/6.cc: Likewise.
* testsuite/22_locale/num_get/get/char/9.cc: Likewise.
* testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/num_put/put/char/1.cc: Likewise.
* testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
* testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
* testsuite/22_locale/num_put/put/char/3.cc: Likewise.
* testsuite/22_locale/num_put/put/char/5.cc: Likewise.
* testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
* testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
* testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
* testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
* testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
* testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
Likewise.
* testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
* testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
* testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
Likewise.
* testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
Likewise.
* testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
* testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
* testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
Likewise.
* testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
Likewise.
* testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
Likewise.
* testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
* testsuite/22_locale/time_put/put/char/2.cc: Likewise.
* testsuite/22_locale/time_put/put/char/3.cc: Likewise.
* testsuite/22_locale/time_put/put/char/4.cc: Likewise.
* testsuite/22_locale/time_put/put/char/6.cc: Likewise.
* testsuite/22_locale/time_put/put/char/7.cc: Likewise.
* testsuite/22_locale/time_put/put/char/8.cc: Likewise.
* testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
* testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
* testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
* testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
Likewise.
* testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
* testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
* testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
* testsuite/27_io/objects/wchar_t/10.cc: Likewise.
* testsuite/27_io/objects/wchar_t/11.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12.cc: Likewise.
* testsuite/27_io/objects/wchar_t/13.cc: Likewise.
* testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
* testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.

From-SVN: r99889

316 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/encoding/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/codecvt/encoding/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/codecvt/encoding/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/in/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/in/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/7.cc
libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/8.cc
libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/9.cc
libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/length/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/length/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/7.cc
libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/max_length/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/codecvt/max_length/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/codecvt/max_length/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/out/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/out/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/7.cc
libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/collate/compare/char/1.cc
libstdc++-v3/testsuite/22_locale/collate/compare/char/2.cc
libstdc++-v3/testsuite/22_locale/collate/compare/char/3.cc
libstdc++-v3/testsuite/22_locale/collate/compare/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/collate/compare/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/collate/compare/wchar_t/1.cc
libstdc++-v3/testsuite/22_locale/collate/compare/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/collate/compare/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/collate/hash/char/2.cc
libstdc++-v3/testsuite/22_locale/collate/hash/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/collate/hash/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/collate/hash/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/collate/transform/char/2.cc
libstdc++-v3/testsuite/22_locale/collate/transform/char/3.cc
libstdc++-v3/testsuite/22_locale/collate/transform/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/collate/transform/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/collate/transform/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/collate/transform/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/collate_byname/named_equivalence.cc
libstdc++-v3/testsuite/22_locale/ctype/cons/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/ctype/cons/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc
libstdc++-v3/testsuite/22_locale/ctype/is/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/ctype/is/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/ctype/is/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/ctype/narrow/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/ctype/narrow/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/ctype/scan/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/ctype/scan/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/ctype/to/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/ctype/to/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/ctype/widen/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/ctype/widen/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/ctype/widen/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/ctype/widen/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/facet/2.cc
libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc
libstdc++-v3/testsuite/22_locale/locale/cons/12438.cc
libstdc++-v3/testsuite/22_locale/locale/cons/12658_thread-1.cc
libstdc++-v3/testsuite/22_locale/locale/cons/12658_thread-2.cc
libstdc++-v3/testsuite/22_locale/locale/cons/2.cc
libstdc++-v3/testsuite/22_locale/locale/cons/4.cc
libstdc++-v3/testsuite/22_locale/locale/cons/5.cc
libstdc++-v3/testsuite/22_locale/locale/cons/7.cc
libstdc++-v3/testsuite/22_locale/locale/cons/7222-env.cc
libstdc++-v3/testsuite/22_locale/locale/global_locale_objects/14071.cc
libstdc++-v3/testsuite/22_locale/locale/global_locale_objects/2.cc
libstdc++-v3/testsuite/22_locale/messages/members/char/1.cc
libstdc++-v3/testsuite/22_locale/messages/members/char/2.cc
libstdc++-v3/testsuite/22_locale/messages/members/char/3.cc
libstdc++-v3/testsuite/22_locale/messages/members/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/messages/members/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/messages_byname/named_equivalence.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/1.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/10.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/11.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/11528.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/12.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/13.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/15.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/16.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/17.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/18.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/2.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/3.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/4.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/1.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/10.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/11.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/11528.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/12.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/13.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/15.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/16.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/17.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/18.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc
libstdc++-v3/testsuite/22_locale/money_put/put/char/2.cc
libstdc++-v3/testsuite/22_locale/money_put/put/char/3.cc
libstdc++-v3/testsuite/22_locale/money_put/put/char/9780-3.cc
libstdc++-v3/testsuite/22_locale/money_put/put/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/money_put/put/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc
libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/moneypunct/members/char/2.cc
libstdc++-v3/testsuite/22_locale/moneypunct/members/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/moneypunct/members/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/moneypunct_byname/named_equivalence.cc
libstdc++-v3/testsuite/22_locale/num_get/get/char/1.cc
libstdc++-v3/testsuite/22_locale/num_get/get/char/3.cc
libstdc++-v3/testsuite/22_locale/num_get/get/char/5.cc
libstdc++-v3/testsuite/22_locale/num_get/get/char/6.cc
libstdc++-v3/testsuite/22_locale/num_get/get/char/9.cc
libstdc++-v3/testsuite/22_locale/num_get/get/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/num_get/get/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/1.cc
libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/5.cc
libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/6.cc
libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/9.cc
libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/num_put/put/char/1.cc
libstdc++-v3/testsuite/22_locale/num_put/put/char/20909.cc
libstdc++-v3/testsuite/22_locale/num_put/put/char/20914.cc
libstdc++-v3/testsuite/22_locale/num_put/put/char/3.cc
libstdc++-v3/testsuite/22_locale/num_put/put/char/5.cc
libstdc++-v3/testsuite/22_locale/num_put/put/char/9780-2.cc
libstdc++-v3/testsuite/22_locale/num_put/put/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/num_put/put/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/1.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/20909.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/20914.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/5.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/numpunct/members/char/2.cc
libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc
libstdc++-v3/testsuite/22_locale/numpunct/members/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/numpunct/members/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/numpunct/members/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/numpunct_byname/named_equivalence.cc
libstdc++-v3/testsuite/22_locale/time_get/date_order/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/time_get/get_date/char/12750.cc
libstdc++-v3/testsuite/22_locale/time_get/get_date/char/2.cc
libstdc++-v3/testsuite/22_locale/time_get/get_date/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/12750.cc
libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/time_get/get_monthname/char/2.cc
libstdc++-v3/testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/time_get/get_time/char/1.cc
libstdc++-v3/testsuite/22_locale/time_get/get_time/char/2.cc
libstdc++-v3/testsuite/22_locale/time_get/get_time/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/time_get/get_time/wchar_t/1.cc
libstdc++-v3/testsuite/22_locale/time_get/get_time/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/time_get/get_weekday/char/2.cc
libstdc++-v3/testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/time_put/put/char/17038.cc
libstdc++-v3/testsuite/22_locale/time_put/put/char/2.cc
libstdc++-v3/testsuite/22_locale/time_put/put/char/3.cc
libstdc++-v3/testsuite/22_locale/time_put/put/char/4.cc
libstdc++-v3/testsuite/22_locale/time_put/put/char/6.cc
libstdc++-v3/testsuite/22_locale/time_put/put/char/7.cc
libstdc++-v3/testsuite/22_locale/time_put/put/char/8.cc
libstdc++-v3/testsuite/22_locale/time_put/put/char/9780-1.cc
libstdc++-v3/testsuite/22_locale/time_put/put/char/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_put/put/char/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/17038.cc
libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/6.cc
libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/7.cc
libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/8.cc
libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13007.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/2.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/9322.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc
libstdc++-v3/testsuite/27_io/basic_ios/copyfmt/char/2.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc
libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc
libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc
libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/9322.cc
libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc
libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc
libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc
libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/char/9322.cc
libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc
libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc
libstdc++-v3/testsuite/27_io/objects/wchar_t/11.cc
libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc
libstdc++-v3/testsuite/27_io/objects/wchar_t/13.cc
libstdc++-v3/testsuite/27_io/objects/wchar_t/9520.cc
libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc
libstdc++-v3/testsuite/lib/dg-options.exp
libstdc++-v3/testsuite/lib/libstdc++.exp
libstdc++-v3/testsuite/testsuite_hooks.cc
libstdc++-v3/testsuite/testsuite_hooks.h

index b265c8b48bf7b0d8c320b7d1fb309467578d4a44..178fa961bc0abd7b60c155ebab891536bf7fcfd3 100644 (file)
@@ -1,3 +1,359 @@
+2005-05-18  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/testsuite_hooks.cc: Remove try_named_locale.
+       * testsuite/testsuite_hooks.h: Remove try_named_locale.
+       * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
+       * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
+       the above.
+       * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
+       dg-require-namedlocale.
+       * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
+       * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
+       * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
+       * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: 
+       Likewise.
+       * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
+       * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
+       * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
+       * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
+       * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
+       * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
+       * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
+       * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
+       * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise. 
+       * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
+       * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
+       * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise. 
+       * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.    
+       * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise. 
+       * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.    
+       * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.   
+       * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.   
+       * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.   
+       * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.   
+       * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.      
+       * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
+       Likewise.  
+       * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.    
+       * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.    
+       * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.    
+       * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
+       Likewise.  
+       * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.    
+       * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise. 
+       * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.  
+       * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.  
+       * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.  
+       * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.  
+       * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise. 
+       * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise. 
+       * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.   
+       * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
+       * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.    
+       * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.    
+       * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.    
+       * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/collate/compare/char/1.cc: Likewise.  
+       * testsuite/22_locale/collate/compare/char/2.cc: Likewise.  
+       * testsuite/22_locale/collate/compare/char/3.cc: Likewise.  
+       * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.        
+       * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.     
+       * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.     
+       * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.     
+       * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.     
+       * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
+       Likewise.  
+       * testsuite/22_locale/collate/hash/char/2.cc: Likewise.     
+       * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.   
+       * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.        
+       * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.  
+       * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.     
+       * testsuite/22_locale/collate/transform/char/2.cc: Likewise.     
+       * testsuite/22_locale/collate/transform/char/3.cc: Likewise.     
+       * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.      
+       * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise. 
+       * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise. 
+       * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
+       Likewise.
+       * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
+       * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.    
+       * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise. 
+       * testsuite/22_locale/ctype/is/char/2.cc: Likewise. 
+       * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.      
+       * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.  
+       * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.   
+       * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.  
+       * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
+       * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.        
+       * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise. 
+       * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.        
+       * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
+       * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.   
+       * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise. 
+       * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise. 
+       * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.       
+       * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.       
+       * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.    
+       * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.    
+       * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise. 
+       * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.    
+       * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise. 
+       * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.   
+       * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.   
+       * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
+       * testsuite/22_locale/facet/2.cc: Likewise.
+       * testsuite/22_locale/locale/cons/12352.cc: Likewise.
+       * testsuite/22_locale/locale/cons/12438.cc: Likewise.
+       * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise. 
+       * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise. 
+       * testsuite/22_locale/locale/cons/2.cc: Likewise.
+       * testsuite/22_locale/locale/cons/4.cc: Likewise.
+       * testsuite/22_locale/locale/cons/5.cc: Likewise.
+       * testsuite/22_locale/locale/cons/7.cc: Likewise.
+       * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.  
+       * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.  
+       * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
+       * testsuite/22_locale/messages/members/char/1.cc: Likewise.
+       * testsuite/22_locale/messages/members/char/2.cc: Likewise.
+       * testsuite/22_locale/messages/members/char/3.cc: Likewise.
+       * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.   
+       * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
+       * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.   
+       * testsuite/22_locale/money_get/get/char/1.cc: Likewise.    
+       * testsuite/22_locale/money_get/get/char/10.cc: Likewise.   
+       * testsuite/22_locale/money_get/get/char/11.cc: Likewise.   
+       * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
+       * testsuite/22_locale/money_get/get/char/12.cc: Likewise.   
+       * testsuite/22_locale/money_get/get/char/13.cc: Likewise.   
+       * testsuite/22_locale/money_get/get/char/15.cc: Likewise.   
+       * testsuite/22_locale/money_get/get/char/16.cc: Likewise.   
+       * testsuite/22_locale/money_get/get/char/17.cc: Likewise.   
+       * testsuite/22_locale/money_get/get/char/18.cc: Likewise.   
+       * testsuite/22_locale/money_get/get/char/2.cc: Likewise.    
+       * testsuite/22_locale/money_get/get/char/3.cc: Likewise.    
+       * testsuite/22_locale/money_get/get/char/4.cc: Likewise.    
+       * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise. 
+       * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.  
+       * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 
+       * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.      
+       * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.      
+       * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
+       * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.      
+       * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.      
+       * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.      
+       * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.      
+       * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.      
+       * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.      
+       * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 
+       * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 
+       * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 
+       * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.      
+       * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
+       * testsuite/22_locale/money_put/put/char/1.cc: Likewise.  
+       * testsuite/22_locale/money_put/put/char/2.cc: Likewise.  
+       * testsuite/22_locale/money_put/put/char/3.cc: Likewise.  
+       * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.      
+       * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise. 
+       * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.  
+       * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise. 
+       * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 
+       * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 
+       * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.     
+       * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
+       * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
+       * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.    
+       * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
+       Likewise. 
+       * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.   
+       * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
+       Likewise.
+       * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
+       * testsuite/22_locale/num_get/get/char/1.cc: Likewise.   
+       * testsuite/22_locale/num_get/get/char/3.cc: Likewise.   
+       * testsuite/22_locale/num_get/get/char/5.cc: Likewise.   
+       * testsuite/22_locale/num_get/get/char/6.cc: Likewise.   
+       * testsuite/22_locale/num_get/get/char/9.cc: Likewise.   
+       * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise. 
+       * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.  
+       * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.  
+       * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.  
+       * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.  
+       * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.  
+       * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise. 
+       * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise. 
+       * testsuite/22_locale/num_put/put/char/1.cc: Likewise.      
+       * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.  
+       * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.  
+       * testsuite/22_locale/num_put/put/char/3.cc: Likewise.      
+       * testsuite/22_locale/num_put/put/char/5.cc: Likewise.      
+       * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise. 
+       * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.    
+       * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise. 
+       * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise. 
+       * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.   
+       * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.   
+       * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise. 
+       * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
+       * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise. 
+       * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
+       * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
+       * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.    
+       * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
+       * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.    
+       * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
+       Likewise. 
+       * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.       
+       * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.    
+       * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
+       Likewise. 
+       * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
+       Likewise. 
+       * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
+       * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.   
+       * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.      
+       * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise. 
+       * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.     
+       * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.     
+       * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
+       Likewise.  
+       * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.  
+       * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
+       Likewise.
+       * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
+       * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
+       Likewise.
+       * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
+       * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
+       * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
+       * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
+       * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
+       Likewise. 
+       * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
+       Likewise.
+       * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
+       * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
+       Likewise.
+       * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
+       Likewise. 
+       * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
+       * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
+       Likewise.    
+       * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
+       Likewise. 
+       * testsuite/22_locale/time_put/put/char/17038.cc: Likewise. 
+       * testsuite/22_locale/time_put/put/char/2.cc: Likewise.     
+       * testsuite/22_locale/time_put/put/char/3.cc: Likewise.     
+       * testsuite/22_locale/time_put/put/char/4.cc: Likewise.     
+       * testsuite/22_locale/time_put/put/char/6.cc: Likewise.     
+       * testsuite/22_locale/time_put/put/char/7.cc: Likewise.     
+       * testsuite/22_locale/time_put/put/char/8.cc: Likewise.     
+       * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.       
+       * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
+       * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.  
+       * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.   
+       * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
+       * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
+       * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
+       * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
+       * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
+       * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
+       * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.     
+       * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.  
+       * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise. 
+       * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.       
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.   
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise. 
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. 
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise. 
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. 
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.       
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.    
+       * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.  
+       * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.  
+       * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.  
+       * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.  
+       * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.    
+       * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.    
+       * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. 
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.  
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.  
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.  
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.  
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.  
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.        
+       * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.   
+       * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
+       Likewise.   
+       * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
+       Likewise.
+       * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
+       * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
+       * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.  
+       * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.    
+       * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.    
+       * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise. 
+       * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.    
+       * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
+       * testsuite/27_io/objects/wchar_t/10.cc: Likewise. 
+       * testsuite/27_io/objects/wchar_t/11.cc: Likewise. 
+       * testsuite/27_io/objects/wchar_t/12.cc: Likewise. 
+       * testsuite/27_io/objects/wchar_t/13.cc: Likewise. 
+       * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
+       * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
+
 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
 
        * libsupc++/eh_personality.cc (gcc_unreachable): Define.
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index da377b57a454e09a94ab58406704b0b400f72258..bc17a8a81614e8c0a205b2023686129589716a4f 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test02()
   bool test __attribute__((unused)) = true;
   typedef codecvt<wchar_t, char, mbstate_t>    w_codecvt;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
+  locale loc = locale("en_US.ISO-8859-1");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index 6830d301036c9ef6d9a505573527f8456330ad0b..cdf3adc5bbb7448ce8a4c69efb6b4f899626a544 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test03()
   bool test __attribute__((unused)) = true;
   typedef codecvt<wchar_t, char, mbstate_t>    w_codecvt;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
+  locale loc = locale("en_US.ISO-8859-15");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index ecb007531753ed5f8eb2503b9f56fd14cf5211f2..3b624859818538737cc6e2d050b18ce54c1b1d00 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test04()
   bool test __attribute__((unused)) = true;
   typedef codecvt<wchar_t, char, mbstate_t>    w_codecvt;
 
-  locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
+  locale loc = locale("en_US.UTF-8");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 815cfd3ec282034017a590aca520c18083c84245..91f75aff0d12b570616b37b7fd4cacebf1139950 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test02()
   typedef codecvt<wchar_t, char, mbstate_t>    w_codecvt;
   bool test __attribute__((unused)) = true;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
+  locale loc = locale("en_US.ISO-8859-1");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index d456868b85d361a254e1b066509294cba530413d..920db255870f578f26391e3c66a69f4082577c95 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test03()
   typedef codecvt<wchar_t, char, mbstate_t>    w_codecvt;
   bool test __attribute__((unused)) = true;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
+  locale loc = locale("en_US.ISO-8859-15");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index d996797a8beac738c2477b19f27fc1dc87f59965..f8530e7ac825a4bb7c69743dffcb006bc80df252 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test04()
   typedef codecvt<wchar_t, char, mbstate_t>    w_codecvt;
   bool test __attribute__((unused)) = true;
 
-  locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
+  locale loc = locale("en_US.UTF-8");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c1e025cff4b18fb2526095d0536aa38528af5234..c8e5f4f80148d665f32a9bfda5fb51576e5bb338 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -88,7 +90,7 @@ void test02()
   wmemset(i_ref, 0xdeadbeef, size + 1);
   int_type*            ito_next;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
+  locale loc = locale("en_US.ISO-8859-1");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index 361f2c7c418d2c4e1daa62416c3f909b8d6ecbfc..dd18ee99dd2bbda9c51265e8d190f39a611da5e7 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -102,7 +104,7 @@ void test03()
   wmemset(i_ref, 0xdeadbeef, size + 1);
   int_type*            ito_next;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
+  locale loc = locale("en_US.ISO-8859-15");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index 14b67284b8cf192c54f27fad8d558d8fa8ce487d..9761784250bd825fc442d1a1840152001277a4a4 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -110,7 +112,7 @@ void test04()
   wmemset(i_ref, 0xdeadbeef, esize + 1);
   int_type*            ito_next;
 
-  locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
+  locale loc = locale("en_US.UTF-8");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index 8689be233faf634de4129db79824916742fa2d6f..984135ccd77f517ccbefab13fdc28082a4d8774e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -60,7 +62,7 @@ void test07()
   wmemset(i_ref, 0xdeadbeef, size + 1);
   int_type*            ito_next;
 
-  locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
+  locale loc = locale("en_US.UTF-8");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index ee4d82bae63f03839f1fb0bcfbaaf957457dc7a0..77e9cd9432e8a451c2d715d1ea81e198572f8126 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -109,7 +111,7 @@ void test08()
   wmemset(i_ref, 0xdeadbeef, esize + 1);
   int_type*            ito_next;
 
-  locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
+  locale loc = locale("en_US.UTF-8");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index ed6e68849a7db0d6448fc8f4cbc98ceb219a7dbf..7afb1989f32a1e8df906c7f6ea0e5a591db998a5 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -111,7 +113,7 @@ void test09()
   int_type*            ito = i_arr;
   int_type*            ito_next;
 
-  locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
+  locale loc = locale("en_US.UTF-8");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index a969ef6123593331b6a86686ad8ced5a5cfe9b07..5e0defbfc16fff8c178ce7f689e22a7bc7281adb 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -61,7 +63,7 @@ void test02()
     "\xff";
   int                  size = strlen(e_lit);
 
-  locale  loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
+  locale  loc = locale("en_US.ISO-8859-1");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index 3512e8ce265c768ee54d8d5b7e3a8fa0733f2a65..f6f1c22da30ea55f4f44054f42e30cb565defd6f 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -61,7 +63,7 @@ void test03()
     "\xff";
   int                  size = strlen(e_lit);
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
+  locale loc = locale("en_US.ISO-8859-15");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index ca742c3024026bcaf8bec6da3263eb28a1594fcb..6a81fe994f8ae84c72c9c3f732dc3cd83ad77393 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -99,7 +101,7 @@ void test04()
   int                  esize = strlen(e_lit);
   int                  isize = wcslen(i_lit);
 
-  locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
+  locale loc = locale("en_US.UTF-8");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index 5f35a0f2b1a7e0cbe2ce0e52a6da832bb41905ca..7bcd0f2d96118d2950c8b7e3c91137be5b2ed616 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -51,7 +53,7 @@ void test07()
   const ext_type*      e_lit = "a\xc0\xff";
   int                  size = strlen(e_lit);
 
-  locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
+  locale loc = locale("en_US.UTF-8");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 57d471e77989822ec212f152defa9ffb5049cb10..1393798c001c8b1c50a65eaf1387aa5acc8b12cf 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -31,7 +33,7 @@ void test02()
   bool test __attribute__((unused)) = true;
   typedef codecvt<wchar_t, char, mbstate_t>    w_codecvt;
 
-  locale  loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
+  locale  loc = locale("en_US.ISO-8859-1");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index 229692b5f733ce29b67c413c1ce28ea957a226e3..324b9628485200c3d086624fb7e2886831f3b6ae 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -31,7 +33,7 @@ void test03()
   bool test __attribute__((unused)) = true;
   typedef codecvt<wchar_t, char, mbstate_t>    w_codecvt;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
+  locale loc = locale("en_US.ISO-8859-15");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index 7533e4c06591dca641f31987c8d008bd99814d0c..dc01de7241532356e88ab95b68a517ad4863f9e7 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -31,7 +33,7 @@ void test04()
   bool test __attribute__((unused)) = true;
   typedef codecvt<wchar_t, char, mbstate_t>    w_codecvt;
 
-  locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
+  locale loc = locale("en_US.UTF-8");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index cffff049c2841fc5afdb197bf15e048660986f15..d12b27611e69f453c4f7510c1aa415ceabc86ac9 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -86,7 +88,7 @@ void test02()
   memset(e_ref, 0xf0, size + 1);
   ext_type*            eto_next;
 
-  locale  loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
+  locale  loc = locale("en_US.ISO-8859-1");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index c421488d1c40db730ceb300323c3a626111535a1..3c88fa23241fafe3252044f05b2f925b16dc5403 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -100,7 +102,7 @@ void test03()
   memset(e_ref, 0xf0, size + 1);
   ext_type*            eto_next;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
+  locale loc = locale("en_US.ISO-8859-15");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index fabb941b021ae2d5f245ddadd889b788d6eefcdd..f41c950f63833cc694257d9cc8a12c3879862de5 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -107,7 +109,7 @@ void test04()
   memset(e_ref, 0xf0, esize + 1);
   ext_type*            eto_next;
 
-  locale  loc = __gnu_test::try_named_locale("en_US.UTF-8");
+  locale  loc = locale("en_US.UTF-8");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index 2a469c65c30dee4b91d61449c0ee7dea3887c0c6..85c30be8d9a2e768dff4c52a244454b4c4d26a11 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -58,7 +60,7 @@ void test03()
   memset(e_ref, 0xf0, size + 1);
   ext_type*            eto_next;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
+  locale loc = locale("en_US.ISO-8859-1");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index dce60f81a26a4f60d5b9fa07c65444acea5af58b..3727da5d31060b2751479743bc5e9469f1d119bb 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -71,7 +73,7 @@ void test02()
   memset(e_ref, 0xf0, size + 1);
   ext_type*            eto_next;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
+  locale loc = locale("en_US.ISO-8859-1");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index e327ef867312fa1851b986bab7b13cd30e643a7a..5bf0f81f9bf93a6e05ff409d3510e10fea1be6a1 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -85,7 +87,7 @@ void test03()
   memset(e_ref, 0xf0, size + 1);
   ext_type*            eto_next;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
+  locale loc = locale("en_US.ISO-8859-15");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index d4dc56051af5d27a7beb7631e24a18ac15c727b5..6a8413dad702e100721b1c7c1adffc0e46363c1e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -80,7 +82,7 @@ void test04()
   memset(e_ref, 0xf0, size + 1);
   ext_type*            eto_next;
 
-  locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
+  locale loc = locale("en_US.UTF-8");
   locale::global(loc);
   const w_codecvt*     cvt = &use_facet<w_codecvt>(loc); 
 
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 62e9510d3682a93a0321dd7e702f18c7644ad4f2..857e19f82567c5d7e23e580351ddf50c5525504a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,9 +35,9 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us = __gnu_test::try_named_locale("en_US");
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_us = locale("en_US");
+  locale loc_fr = locale("fr_FR");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
   VERIFY( loc_us != loc_fr );
   VERIFY( loc_us != loc_de );
index d0bad93196bd2d712defb94963b3e4ac2e2eb507..f1840334ed8a4caceb0d9f8eee9c37b9b38ceeb3 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,9 +35,9 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us = __gnu_test::try_named_locale("en_US");
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_us = locale("en_US");
+  locale loc_fr = locale("fr_FR");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
   VERIFY( loc_us != loc_fr );
   VERIFY( loc_us != loc_de );
index 7de98aa7925df4d6958b99447ba966ad79020127..3f5042ef71cdd92d842893104cc5605330bc9872 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-24 Petur Runolfsson <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
 
   // cache the collate facets
index 19e4210ff2cee5b0eec9d1e3ec2d1da9e677d260..1ef3f20576cfb04a4bfe89ec676f0ee795f74a0a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 292b8c738e4f989d7397d22912c7730b0735fe39..6434f7ebc762f109fc3c7b5e576f619428d7abd1 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 995c5b4f699dd6eaede36976f66e181d77449fa3..2fc60a132d2e7e0092d452578f898fcdb1c6be7f 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,9 +35,9 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us = __gnu_test::try_named_locale("en_US");
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_us = locale("en_US");
+  locale loc_fr = locale("fr_FR");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
   VERIFY( loc_us != loc_fr );
   VERIFY( loc_us != loc_de );
index c4a95b6cd81884f8d914e9db9b19c98a69cde9a5..7f5073603d57ca9e380210d46917dcea99676bc9 100644 (file)
@@ -1,6 +1,12 @@
+// { dg-do run }
+// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
+// { dg-options "-finput-charset=ISO8859-1" }
+// { dg-require-iconv "ISO8859-1" }
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 // USA.
 
-// { dg-do run }
-// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
-// { dg-options "-finput-charset=ISO8859-1" }
-// { dg-require-iconv "ISO8859-1" }
-
 // 22.2.4.1.1 collate members
 
 #include <locale>
@@ -38,9 +39,9 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us = __gnu_test::try_named_locale("en_US");
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_us = locale("en_US");
+  locale loc_fr = locale("fr_FR");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
   VERIFY( loc_us != loc_fr );
   VERIFY( loc_us != loc_de );
index 209f7f835e3194636ed42cd9735cb5e58fb9b9e6..e9f761e71e03ccd9f35465320b76619fc89365b0 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-24 Petur Runolfsson <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
 
   // cache the collate facets
index 6819fa5411a9d708ffd13fd241ca6ba5b14b1396..a236171eed287b93a053794ea58fbf7e668c1ae2 100644 (file)
@@ -1,6 +1,12 @@
+// { dg-do run }
+// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
+// { dg-options "-finput-charset=ISO8859-1" }
+// { dg-require-iconv "ISO8859-1" }
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 
 // 22.2.4.1.1 collate members
 
-// { dg-do run }
-// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
-// { dg-options "-finput-charset=ISO8859-1" }
-// { dg-require-iconv "ISO8859-1" }
-
 #include <testsuite_hooks.h>
 
 #define main discard_main_1
index f7c1cc06f1e9df922f3cd4a5f61f5f97e755cd76..eaf2f74dc72235e909222bf87df9996b47d39801 100644 (file)
@@ -1,6 +1,12 @@
+// { dg-do run }
+// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
+// { dg-options "-finput-charset=ISO8859-1" }
+// { dg-require-iconv "ISO8859-1" }
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 
 // 22.2.4.1.1 collate members
 
-// { dg-do run }
-// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
-// { dg-options "-finput-charset=ISO8859-1" }
-// { dg-require-iconv "ISO8859-1" }
-
 #include <testsuite_hooks.h>
 
 #define main discard_main_1
index 236d21e128da8d83498a6069fc060db3a3c62f03..44493e7e28d37b981f39d71f93dcdb1cb88a7cec 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,9 +35,9 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us = __gnu_test::try_named_locale("en_US");
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_us = locale("en_US");
+  locale loc_fr = locale("fr_FR");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
   VERIFY( loc_us != loc_fr );
   VERIFY( loc_us != loc_de );
index 19e4210ff2cee5b0eec9d1e3ec2d1da9e677d260..1ef3f20576cfb04a4bfe89ec676f0ee795f74a0a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 292b8c738e4f989d7397d22912c7730b0735fe39..6434f7ebc762f109fc3c7b5e576f619428d7abd1 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 4fac27295856b801ffc9a6d0db3217297f366206..56e0509bdc9234e0686362ccdc4b327e992a7a30 100644 (file)
@@ -1,6 +1,12 @@
+// { dg-do run }
+// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
+// { dg-options "-finput-charset=ISO8859-1" }
+// { dg-require-iconv "ISO8859-1" }
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 
 // 22.2.4.1.1 collate members
 
-// { dg-do run }
-// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
-// { dg-options "-finput-charset=ISO8859-1" }
-// { dg-require-iconv "ISO8859-1" }
-
 #include <locale>
 #include <testsuite_hooks.h>
 
@@ -37,9 +38,9 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us = __gnu_test::try_named_locale("en_US");
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_us = locale("en_US");
+  locale loc_fr = locale("fr_FR");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
   VERIFY( loc_us != loc_fr );
   VERIFY( loc_us != loc_de );
index 6819fa5411a9d708ffd13fd241ca6ba5b14b1396..a236171eed287b93a053794ea58fbf7e668c1ae2 100644 (file)
@@ -1,6 +1,12 @@
+// { dg-do run }
+// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
+// { dg-options "-finput-charset=ISO8859-1" }
+// { dg-require-iconv "ISO8859-1" }
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 
 // 22.2.4.1.1 collate members
 
-// { dg-do run }
-// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
-// { dg-options "-finput-charset=ISO8859-1" }
-// { dg-require-iconv "ISO8859-1" }
-
 #include <testsuite_hooks.h>
 
 #define main discard_main_1
index f7c1cc06f1e9df922f3cd4a5f61f5f97e755cd76..eaf2f74dc72235e909222bf87df9996b47d39801 100644 (file)
@@ -1,6 +1,12 @@
+// { dg-do run }
+// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
+// { dg-options "-finput-charset=ISO8859-1" }
+// { dg-require-iconv "ISO8859-1" }
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 
 // 22.2.4.1.1 collate members
 
-// { dg-do run }
-// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
-// { dg-options "-finput-charset=ISO8859-1" }
-// { dg-require-iconv "ISO8859-1" }
-
 #include <testsuite_hooks.h>
 
 #define main discard_main_1
index 9dfc00ffaf47ff12b82ad56b7cd584a2536569db..6f4e3156ae56320687a718d65d51905c9c07a690 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,9 +34,9 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us = __gnu_test::try_named_locale("en_US");
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_us = locale("en_US");
+  locale loc_fr = locale("fr_FR");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
   VERIFY( loc_us != loc_fr );
   VERIFY( loc_us != loc_de );
index dab1f081b0dae73de549cdb432a80a901bf5fa1d..dd6329007032503f0eb289841a789c59a0723491 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-24 Petur Runolfsson <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,7 +34,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
 
   // cache the collate facets
index ca0da1c2f2a81476b7bca8f05956fb9b82652d96..4cb4c9a97268ea21ef2753c84a9cd21763245446 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 1231025372bb74aa3e7a815d260673683b9ffc84..de07f85e1f7812ff013967f6ba4cc4988fb97f40 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index a52899b7625f55969f79b6833a96b029d7115c0c..2e6ff58be85a75fffb6beaf40ba8a5787c7942bf 100644 (file)
@@ -1,6 +1,12 @@
+// { dg-do run }
+// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
+// { dg-options "-finput-charset=ISO8859-1" }
+// { dg-require-iconv "ISO8859-1" }
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 
 // 22.2.4.1.1 collate members
 
-// { dg-do run }
-// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
-// { dg-options "-finput-charset=ISO8859-1" }
-// { dg-require-iconv "ISO8859-1" }
-
 #include <locale>
 #include <testsuite_hooks.h>
 
@@ -37,9 +38,9 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us = __gnu_test::try_named_locale("en_US");
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_us = locale("en_US");
+  locale loc_fr = locale("fr_FR");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
   VERIFY( loc_us != loc_fr );
   VERIFY( loc_us != loc_de );
index fdd88f70885512797f45647936cb640a966c1222..581e219c2c2c4dd7d1eceba9dfcbabae034c808d 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-02-24 Petur Runolfsson <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,7 +34,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
 
   // cache the collate facets
index c3286289cc532476100c2934017b6937c3115efa..3b3aa52ee0e1834aaf38d84db65d0852d03052c4 100644 (file)
@@ -1,6 +1,12 @@
+// { dg-do run }
+// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
+// { dg-options "-finput-charset=ISO8859-1" }
+// { dg-require-iconv "ISO8859-1" }
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 
 // 22.2.4.1.1 collate members
 
-// { dg-do run }
-// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
-// { dg-options "-finput-charset=ISO8859-1" }
-// { dg-require-iconv "ISO8859-1" }
-
 #include <testsuite_hooks.h>
 
 #define main discard_main_2
index b8bb537555a1a7e4f3de563755af51a2cf296fb8..463fd63b1d99be27ebb2b0683c055f9cf1091d13 100644 (file)
@@ -1,6 +1,12 @@
+// { dg-do run }
+// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
+// { dg-options "-finput-charset=ISO8859-1" }
+// { dg-require-iconv "ISO8859-1" }
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 
 // 22.2.4.1.1 collate members
 
-// { dg-do run }
-// { dg-xfail-if "" { "*-*-hpux11.23" } { "*" } { "" } } */
-// { dg-options "-finput-charset=ISO8859-1" }
-// { dg-require-iconv "ISO8859-1" }
-
 #include <testsuite_hooks.h>
 
 #define main discard_main_2
index be4524f9ca6532f060a81472ee1a3d5bf1bd242b..195b64dd0b7ec060edef09a21e56cec691bf4da2 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002 Free Software Foundation
+// Copyright (C) 2001, 2002, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,7 +34,7 @@ void test01()
   string str;
   locale loc_c = locale::classic();
 
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   str = loc_de.name();
 
   locale loc_byname(locale::classic(), new collate_byname<char>("de_DE"));
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 90c8a850e5a5dc0dfec8eebc6a445febf2048799..8a85edae205808dd2d4cb3a1f5725e84621a4993 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-require-namedlocale "" }
 // { dg-do run { xfail *-*-![linux]* } }
 // Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005
 // Free Software Foundation, Inc.
@@ -68,7 +69,7 @@ void test02()
     }   
 
   // "de_DE"
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   const ctype<char>& ctype_de = use_facet<ctype<char> >(loc_de); 
   for (int i = 0; i < max; ++i)
     {
index 294934099c11da6b0dd3b25b62b3304d015c291c..cbe03885d04db80aed90be591b99ddbd25f75294 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index e54f823b8f91c045a13a1c493eb933046e7c2fab..de537302521e5b11bd62e4ebd3a6cbe39323ef9e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 658135b5550248b6233627fd31b511da44f4ce95..203a5b89a0b87eb38a0e8e0e4116ae23a960dbe6 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-require-namedlocale "" }
 // { dg-do run { xfail *-*-![linux]* } }
 // Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005
 // Free Software Foundation, Inc.
@@ -68,7 +69,7 @@ void test02()
     }   
 
   // "de_DE"
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   const ctype<wchar_t>& ctype_de = use_facet<ctype<wchar_t> >(loc_de); 
   for (int i = 0; i < max; ++i)
     {
index 19e4210ff2cee5b0eec9d1e3ec2d1da9e677d260..1ef3f20576cfb04a4bfe89ec676f0ee795f74a0a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 292b8c738e4f989d7397d22912c7730b0735fe39..6434f7ebc762f109fc3c7b5e576f619428d7abd1 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 19e4210ff2cee5b0eec9d1e3ec2d1da9e677d260..1ef3f20576cfb04a4bfe89ec676f0ee795f74a0a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 292b8c738e4f989d7397d22912c7730b0735fe39..86eaef9434de4fb244fdfbd9dbb9e458439dd658 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
 // Copyright (C) 2001, 2002, 2003 Free Software Foundation
index 1e00a840a2bdd90d99ac4a3eabb476f0f447986d..8ddcb5cc19a262597bcecf3317e39711f5a270fb 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-03-12  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -38,7 +40,7 @@ void test03()
   using namespace std;
   bool test __attribute__((unused)) = true;
 
-  locale loc = __gnu_test::try_named_locale("se_NO.UTF-8");
+  locale loc = locale("se_NO.UTF-8");
   const ctype<wchar_t>& wct = use_facet<ctype<wchar_t> >(loc);
 
   const wchar_t* wstrlit = L"\x80";
index 19e4210ff2cee5b0eec9d1e3ec2d1da9e677d260..1ef3f20576cfb04a4bfe89ec676f0ee795f74a0a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 292b8c738e4f989d7397d22912c7730b0735fe39..6434f7ebc762f109fc3c7b5e576f619428d7abd1 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 0cb05dd930a892e994fbea3d7917c5208f9d56bd..d8aeba0765d038d555b9f486b76ba8f15a11edef 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-03-12  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -38,7 +40,7 @@ void test02()
   using namespace std;
   bool test __attribute__((unused)) = true;
 
-  locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
+  locale loc = locale("en_US.ISO-8859-1");
   const ctype<wchar_t>& wct = use_facet<ctype<wchar_t> >(loc);
 
   char c = 0xff;
index 8d6f1f3c7ae78ffdeb93d4c39e2e0d0d8875b612..937643609f87d0e1ac8a6308584ac5daf11c1182 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-03-12  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -38,7 +40,7 @@ void test03()
   using namespace std;
   bool test __attribute__((unused)) = true;
 
-  locale loc = __gnu_test::try_named_locale("se_NO.UTF-8");
+  locale loc = locale("se_NO.UTF-8");
   const ctype<wchar_t>& wct = use_facet<ctype<wchar_t> >(loc);
 
   const char* strlit = "\xc2\x80";
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index f3059ee05b7f41f663bae6b7e2be68ce1e6305d9..f3d14b16080f60858446cdb9f93f1dcf3dbee142 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2000-08-31 Benjamin Kosnik <bkoz@redhat.com>
 
-// Copyright (C) 2000, 2002, 2003 Free Software Foundation
+// Copyright (C) 2000, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -83,7 +85,7 @@ void test02()
   // 4: Named locale should destroy facets when it goes out of scope.
   // Not quite sure how to test for this w/o valgrind at the moment.
   {
-    locale loc03 = __gnu_test::try_named_locale("es_MX");
+    locale loc03 = locale("es_MX");
   }
 }
 
index b58f61bfa97e45043cca754641121dd4b7d915a4..e90b9442d13e0a577a67a66ae684314da780d058 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -101,7 +103,7 @@ void test01(int iters)
          times_to_fail = i;
          try
            {
-             std::locale loc1 = __gnu_test::try_named_locale("");
+             std::locale loc1 = std::locale("");
              std::locale loc2(loc1, std::locale::classic(),
                               std::locale::numeric);
            }
index 70691d320e4ff1e93a616d0c46728d0b36bf41db..581c2df2795bfc55bb2ae4958b75266f12f6a9b5 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -42,7 +44,7 @@ void test01(int iters)
       try
        {
          locale loc1 = locale::classic();
-         locale loc2 = __gnu_test::try_named_locale("");
+         locale loc2 = locale("");
          VERIFY( !has_facet<MyFacet>(loc2) );
          
          loc1.combine<MyFacet>(loc2);
index 87dfa6c0b95676f7492d736beede1804fa97227f..246b693b976233e3bb4846b9d5691b5dc800f712 100644 (file)
@@ -1,8 +1,9 @@
 // { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
 // { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
 // { dg-options "-pthreads" { target *-*-solaris* } }
+// { dg-require-namedlocale "" }
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -38,7 +39,7 @@ void* thread_main(void*)
       std::locale loc_c = std::locale::classic();
       std::locale loc[max_locales];
       for (int j = 0; j < max_locales; ++j)
-       loc[j] = __gnu_test::try_named_locale(j % 2 ? "en_US" : "fr_FR");
+       loc[j] = std::locale(j % 2 ? "en_US" : "fr_FR");
       
       for (int i = 0; i < max_loop_count; ++i)
        {
index a48c4a85f0da6aa186d8f1ffb8566e11bc954cd9..96fadee4d1db5c2c140cfe7f5cb1247e6f268cca 100644 (file)
@@ -1,8 +1,9 @@
 // { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
 // { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
 // { dg-options "-pthreads" { target *-*-solaris* } }
+// { dg-require-namedlocale "" }
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -52,7 +53,7 @@ main()
   pthread_t tid[max_thread_count];
   
   for (int j = 0; j < max_locales; ++j)
-    loc[j] = __gnu_test::try_named_locale(j % 2 ? "en_US" : "fr_FR");  
+    loc[j] = std::locale(j % 2 ? "en_US" : "fr_FR");  
 
   for (int i = 0; i < max_thread_count; i++)
     pthread_create(&tid[i], NULL, thread_main, 0);
index af51d3313d602593160ea0f915db83cc1c4cb4e1..50f5630da244069f46afe1265204aa7129d3a2e5 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2000-09-13 Benjamin Kosnik <bkoz@redhat.com>
 
-// Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2000, 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -170,7 +172,7 @@ void test01()
 
   // 3
   // explicit locale(const char* std_name)
-  locale loc06 = __gnu_test::try_named_locale("fr_FR");
+  locale loc06 = locale("fr_FR");
   VERIFY (loc06 != loc01);  
   VERIFY (loc06 != loc02);  
   VERIFY (loc06.name() == "fr_FR");
index 9343535a8ad5bd68bdfad588fd9a2930ded17995..bedec23d30ef80dac9c7fbef31a860ede277e7de 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2000-09-13 Benjamin Kosnik <bkoz@redhat.com>
 
-// Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2000, 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test03()
   const char* LC_ALL_orig = getenv("LC_ALL");
   if (!setenv("LC_ALL", "it_IT", 1))
     {
-      std::locale loc = __gnu_test::try_named_locale(""); 
+      std::locale loc = std::locale(""); 
       VERIFY( loc.name() == "it_IT" );
       setenv("LC_ALL", LC_ALL_orig ? LC_ALL_orig : "", 1);
     }
index 697b4a49c677be6056bfa6e800624db53c58977f..9cc54614dca2eb684116cdc59a18fd5950c1ab30 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2000-09-13 Benjamin Kosnik <bkoz@redhat.com>
 
-// Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2000, 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -65,7 +67,7 @@ void test04()
   // Check that a "POSIX" LC_ALL is equivalent to "C".
   if (!setenv("LC_ALL", "POSIX", 1))
     {
-      locale loc = __gnu_test::try_named_locale("");
+      locale loc = locale("");
       VERIFY( loc.name() == "C" );
     }
   setenv("LC_ALL", "", 1);
@@ -73,7 +75,7 @@ void test04()
   // Check that a "en_PH" LC_ALL is equivalent to "en_PH".
   if (!setenv("LC_ALL", "en_PH", 1))
     {
-      locale loc = __gnu_test::try_named_locale("");
+      locale loc = locale("");
       VERIFY( loc.name() == "en_PH" );
     }
   setenv("LC_ALL", "", 1);
@@ -83,7 +85,7 @@ void test04()
     {
       if (!setenv("LC_ALL", "en_PH", 1))
        {
-         locale loc = __gnu_test::try_named_locale("");
+         locale loc = locale("");
          VERIFY( loc.name() == "en_PH" );
        }
       setenv("LC_ALL", "", 1);
@@ -112,7 +114,7 @@ void test04()
   // Check the default set by LANG.
   if (!setenv("LANG", "fr_FR", 1))
     {
-      locale loc = __gnu_test::try_named_locale("");
+      locale loc = locale("");
       VERIFY( loc.name() == "fr_FR" );
     }
 
@@ -126,7 +128,7 @@ void test04()
   // Setting a category in the "C" default.
   if (!setenv("LC_COLLATE", "de_DE", 1))
     {
-      locale loc = __gnu_test::try_named_locale("");
+      locale loc = locale("");
 
 #if _GLIBCXX_NUM_CATEGORIES
       VERIFY( loc.name() == "LC_CTYPE=C;LC_NUMERIC=C;LC_TIME=C;"
@@ -142,7 +144,7 @@ void test04()
   // Changing the LANG default while LC_COLLATE is set.
   if (!setenv("LANG", "fr_FR", 1))
     {
-      locale loc = __gnu_test::try_named_locale("");
+      locale loc = locale("");
 #if _GLIBCXX_NUM_CATEGORIES
       VERIFY( loc.name() == "LC_CTYPE=fr_FR;LC_NUMERIC=fr_FR;"
              "LC_TIME=fr_FR;LC_COLLATE=de_DE;LC_MONETARY=fr_FR;"
@@ -160,7 +162,7 @@ void test04()
 #if _GLIBCXX_NUM_CATEGORIES
   if (!setenv("LC_IDENTIFICATION", "it_IT", 1))
     {
-      locale loc = __gnu_test::try_named_locale("");
+      locale loc = locale("");
       VERIFY( loc.name() == "LC_CTYPE=fr_FR;LC_NUMERIC=fr_FR;"
              "LC_TIME=fr_FR;LC_COLLATE=de_DE;LC_MONETARY=fr_FR;"
              "LC_MESSAGES=fr_FR;LC_PAPER=fr_FR;LC_NAME=fr_FR;"
index 8b4aafe14f44407c4c91c321159e94b59632d24a..f01de7d9edfa06770f5108e8ae63e6d4880ba5f9 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-01-19 Benjamin Kosnik <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2003 Free Software Foundation
+// Copyright (C) 2001, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ test02()
 
   // construct a locale object with the specialized facet.
   locale               loc_c = locale::classic();
-  locale               loc_fr = __gnu_test::try_named_locale("fr_FR");
+  locale               loc_fr = locale("fr_FR");
   locale               loc_1(locale::classic(), 
                              new numpunct_byname<char>("fr_FR"));
 
index 4524a070b7a40650899372d2b2fe39e936765c0c..842dafd5ee777b500525922b1bc912594371c9f0 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2000-09-13 Benjamin Kosnik <bkoz@redhat.com>
 
-// Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2000, 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -30,8 +32,8 @@ void test02()
 {
   bool test __attribute__((unused)) = true;
 
-  std::locale loc_1 = __gnu_test::try_named_locale("");
-  std::locale loc_2 = __gnu_test::try_named_locale("");
+  std::locale loc_1 = std::locale("");
+  std::locale loc_2 = std::locale("");
   VERIFY( loc_1 == loc_2 );
 }
  
index 7c143f4f5770ee73e23a95967a6f122bdedff014..13a210024bdb1ade8ad9681a810c1e0bd547f9f7 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-02-09  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -30,8 +32,8 @@ void test01()
   using namespace std;
   bool test __attribute__((unused)) = true;
 
-  const locale loc_is = __gnu_test::try_named_locale("is_IS");
-  const locale loc_en = __gnu_test::try_named_locale("en_US");
+  const locale loc_is = locale("is_IS");
+  const locale loc_en = locale("en_US");
 
   const locale loc(loc_is, loc_en, locale::monetary);
 
index 653eaaf99d6d9687cfb7b6d6bcb306cc1b4d8ea5..79b9a7b1e12d178d376d11d7dab78c840e4e44cd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2000-09-13 Benjamin Kosnik <bkoz@redhat.com>
 
-// Copyright (C) 2000, 2002, 2003 Free Software Foundation
+// Copyright (C) 2000, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -42,13 +44,13 @@ void test02()
   // named locales work.
   if (testph && testmx)
     {
-      const locale loc_ph = __gnu_test::try_named_locale(ph.c_str());
-      const locale loc_mx = __gnu_test::try_named_locale(mx.c_str());
+      const locale loc_ph = locale(ph.c_str());
+      const locale loc_mx = locale(mx.c_str());
       
       // Use setlocale between two calls to locale("")
-      const locale loc_env_1 = __gnu_test::try_named_locale("");
+      const locale loc_env_1 = locale("");
       setlocale(LC_ALL, ph.c_str());
-      const locale loc_env_2 = __gnu_test::try_named_locale("");
+      const locale loc_env_2 = locale("");
       VERIFY( loc_env_1 == loc_env_2 );
       
       // Change global locale.
index d1dd441ccab2dd5d1e09f06046a24be79b9bfd44..ae2941bbe8a85dde617e3be8160af277ff936819 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-07-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
 
   // cache the messages facets
index 120358cae222868a01fdda1fb9d7a1a31799e2bd..1b2a677123a9fc8605c4bafd6d4cf32c7731f1af 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-07-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+  locale loc_fr = locale("fr_FR");
   VERIFY( loc_c != loc_fr );
 
   // cache the messages facets
index 272e19bfaca795a6e2aa29f86b211c705a44c0d6..3742605bd83273bc9184593aa97e5c0de8e2263f 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-07-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,8 +37,8 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us = __gnu_test::try_named_locale("en_US");
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+  locale loc_us = locale("en_US");
+  locale loc_fr = locale("fr_FR");
   VERIFY( loc_c != loc_us );
   VERIFY( loc_us != loc_fr );
 
index 294934099c11da6b0dd3b25b62b3304d015c291c..cbe03885d04db80aed90be591b99ddbd25f75294 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index e54f823b8f91c045a13a1c493eb933046e7c2fab..de537302521e5b11bd62e4ebd3a6cbe39323ef9e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3072383a9883b5013d3c248d2feee6650bf2011e..cbaded7ab9c1c554c59739922ae57e45db612a4e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-07-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2003 Free Software Foundation
+// Copyright (C) 2001, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test01()
   const char* dir = LOCALEDIR;
   locale loc_c = locale::classic();
 
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   str = loc_de.name();
 
   locale loc_byname(locale::classic(), new messages_byname<char>("de_DE"));
index 1275040e5ec4ab22d090f8dc20b0f612897ffc1b..f534837aa2ce1b951a26cc33e87d10e4fe198e62 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-12 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   // sanity check the data is correct.
index 1711e25e4b77e98330802098a17a04b7f640e3a1..de161c8e773148edcb157e71f4f58eee9503c98e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-10-23  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -31,7 +33,7 @@ void test01()
 
   bool test __attribute__((unused)) = true;
 
-  locale loc_us = __gnu_test::try_named_locale("en_US");
+  locale loc_us = locale("en_US");
 
   iterator_type end;
   istringstream iss;
index 5494ca0d075c852b27542989695871543070f878..ffb4e69861a7d3b972281aa35207babc5878f076 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-10-24  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test01()
   bool test __attribute__((unused)) = true;
   
   // basic construction
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
 
   iterator_type end;
   istringstream iss;
index 17825d546b226f97c45a2d63eeefbe0dda7b03d7..48af8c53988a0da61d1b353e3d2ac5945fa5fc02 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -29,7 +31,7 @@ void test01()
 
   bool test __attribute__((unused)) = true;
 
-  locale loc_us = __gnu_test::try_named_locale("en_US");
+  locale loc_us = locale("en_US");
 
   iterator_type end;
   istringstream iss;
index 2b4f32a87f84f4698a5c9850d10abe8dcbc8691c..9527075fc28ea93dbd475e9b0a28cd8420bef861 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-02-05  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   // total EPA budget FY 2002
index d7040ba237b833ef86abaf40310bc9eb1eaccaec..5cba310e9ed5db6eba4497fcf2a8ce4566147b29 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-02-05  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   iterator_type end01, end02;
index a5e766eb45b6b3be6e3e5edb77ed1b61691564c2..95f7456c49fca17e5e7b39625bf1978ca5b95c2e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-03-01  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   iterator_type end01, end02;
index c4a2011e776b55ddd242603593291bda1d129767..4ff6fd0d9bce2f97fafcbe5ed0be029deb5f8b54 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-03-02  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,8 +36,8 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_de = locale("de_DE@euro");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_hk != loc_de );
   VERIFY( loc_c != loc_hk );
 
index 5216b414aaea249bc7bc9281200687235561604b..394898ba793cad9eb4071fcbfe2d824f77c72090 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-03-08  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   iterator_type end, end02;
index 3da65de43d157e05dd6c184d3af7383452caf038..8ceaef2f14f98126cbe4e1b0615853c6d505617d 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-03-15  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
   
   iterator_type end, end01, end02;
index e6ae8d926bb76498a91c887e3adb6464ad2a6d1d..31be9830aafe80f875e37343f9d48b36ee7a3f85 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-12 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
   // total EPA budget FY 2002
index 6a07ab2516660eecd569960ff04c402361dddbd1..b647e6435f08b166f1849cc665fccb5d9a1c4880 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-12 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   // total EPA budget FY 2002
index 9556dfbf00356bb3f8a64f0f378d592546c26ba7..bfd19d7522144e36cbb1d8b8e53cb847d694b064 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-12 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test04()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
   // input less than frac_digits
index 97db30aba2487246c9046828f1151d79b7c51f5b..9f23d6a2b502a56a08c5b9fbb6b48624558b3e60 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index ec63ba9b24b762054d40690f1621084a33674a47..28bb4e7e2bbe4742d290ae9506eef078b5b29313 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index f382e484faa9932d27e3f2fd812e723ad82c7e55..ade3944bb1f80b81f69e75a3b928a3f05e8db26e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-12 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   // sanity check the data is correct.
index c1e26c87518adc2d172e0846e4f5020302cfd0ba..5d7bf957f056afd4d128d13efc283d133eac1790 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-10-23  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -31,7 +33,7 @@ void test01()
 
   bool test __attribute__((unused)) = true;
 
-  locale loc_us = __gnu_test::try_named_locale("en_US");
+  locale loc_us = locale("en_US");
 
   iterator_type end;
   wistringstream iss;
index af2c230b9a1e1aad8828ae21ad93baa2ca5ef8ac..82247b08b30859f03fc01d291399a3cbd856d6d4 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-10-24  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test01()
   bool test __attribute__((unused)) = true;
   
   // basic construction
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
 
   iterator_type end;
   wistringstream iss;
index 8649db41187890b7ce46b46c8148853ee787dcfe..2165597e7eb875be5aaea36733eebfff8dd730e9 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -29,7 +31,7 @@ void test01()
 
   bool test __attribute__((unused)) = true;
 
-  locale loc_us = __gnu_test::try_named_locale("en_US");
+  locale loc_us = locale("en_US");
 
   iterator_type end;
   wistringstream iss;
index 95ecbefb88041e3e95c1eb1936fff246b7118156..03b06c41aed9a5fea5e055938777be5f067ea24b 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-02-05  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   // total EPA budget FY 2002
index 564d5fd7798fea5bbdf18e3cd5a0f8f61e42217f..9b0b595b1e232ebeedd364e0abd44d0deb1f99e6 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-02-05  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   iterator_type end01, end02;
index 52a4589d1cb2b14f6ffb7575d35d0697c9a4d3a3..27523b57f1d093cf8feea9436e2e958b03f45e47 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-03-01  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   iterator_type end01, end02;
index c7d7bd2299ebd781f66817de287b80a428381def..e3c94ef136e72ee63b2ceb9020480273140dd136 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-03-02  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,8 +36,8 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_de = locale("de_DE@euro");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_hk != loc_de );
   VERIFY( loc_c != loc_hk );
 
index e8affd81bb8e63e5c3d697e47f27eaed241bfd7d..6d9b789f8d0ac5b9399f07928ac248ac437940bf 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-03-08  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   iterator_type end, end02;
index 285de23627664d895bc2d7746ef06807a71ab331..520df5bb380001de05bebd12e8dd67b7a2496783 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-03-15  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
   
   iterator_type end, end01, end02;
index bf7edc11b63011024bda3004d4bc19000614605a..d84ceb3ec6f30f942e520e37b55a70b335c31cc5 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-12 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
   // total EPA budget FY 2002
index 2b1dc33e2bea44f6c7b21e6f5adcc31801c620d7..4241dc70299e47f53f23a2e887cbc85ee331d859 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-12 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   // total EPA budget FY 2002
index 4f541ed882ad9a9bd7845400527f568ccba66668..c0b473ccca7a6e430ecbfd267297ae178c124ee8 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-12 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test04()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
   // input less than frac_digits
index 97db30aba2487246c9046828f1151d79b7c51f5b..9f23d6a2b502a56a08c5b9fbb6b48624558b3e60 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index ec63ba9b24b762054d40690f1621084a33674a47..28bb4e7e2bbe4742d290ae9506eef078b5b29313 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 85998856cd58af40e23204b3b12daafa97bc548b..39397df5a159cf07ec2e84433e24d83b4ac55852 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   // sanity check the data is correct.
index 2833afbcaa371474d5f8c6bb55520b2fee94a3a2..e8aeec37c489c91e031d18594182c2fed594dfb0 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
   // sanity check the data is correct.
index f4e70ec8d69444c9da9f8d3898492ea4b7c07525..1b222b65abd9107deb00be9d416f025b9e992962 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   // sanity check the data is correct.
index acc1c94cc9bf8a36aeac9fa47a95dfeb8127828e..cf3451f1c37af61ffa299257c02d1d8e47b7cabb 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -25,8 +27,8 @@ int main()
   using namespace std;
 
   bool test __attribute__((unused)) = true;
-  locale l1 = __gnu_test::try_named_locale("de_DE");
-  locale l2 = __gnu_test::try_named_locale("es_ES");
+  locale l1 = locale("de_DE");
+  locale l2 = locale("es_ES");
   
   const money_put<char>& mp = use_facet<money_put<char> >(l1);  
   ostringstream oss;
index 2f7385fb1552ec8695870f1a7a5b69e8378ccdde..2559c5bb6891c766b47a12f79ae8c528b7049fef 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 105db8132933aa3bd4bc7d1cc02c8643d71c5442..b09ef345820de52b75f0108ce4c5b6cdab0d9221 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 76d0cdd556f408b6b365594fb26865c48addcd77..6dd3da73d0ab586906ba23f13983297750ac37c5 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   // sanity check the data is correct.
index 4f6148bcccce27446895fa666631102b7ed71085..0c90b45fed71bf8f016f671171c378a0ff903a59 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
   // sanity check the data is correct.
index 63f16095cc128ee50821b428431cb3d1842c9be7..d6fc3c59b940c969329e15c108e13bd72f75240e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
+  locale loc_de = locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
   // sanity check the data is correct.
index 2f7385fb1552ec8695870f1a7a5b69e8378ccdde..2559c5bb6891c766b47a12f79ae8c528b7049fef 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 105db8132933aa3bd4bc7d1cc02c8643d71c5442..b09ef345820de52b75f0108ce4c5b6cdab0d9221 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 70e4516d0ff780b23b37e89cc673fff7fbcb9a8f..c86c9a2fc22b37b5d0354ef25129b77148a86bbb 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-23 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
 
   // cache the moneypunct facets
   typedef moneypunct<char, true> __money_true;
index 19e4210ff2cee5b0eec9d1e3ec2d1da9e677d260..1ef3f20576cfb04a4bfe89ec676f0ee795f74a0a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 292b8c738e4f989d7397d22912c7730b0735fe39..6434f7ebc762f109fc3c7b5e576f619428d7abd1 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index dc1d9706123d657057d1d628349e97e259d54642..382268c3f90ac86643325c293e8b58f8cf348982 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-23 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
 
   // cache the moneypunct facets
   typedef moneypunct<wchar_t, true> __money_true;
index 19e4210ff2cee5b0eec9d1e3ec2d1da9e677d260..1ef3f20576cfb04a4bfe89ec676f0ee795f74a0a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 292b8c738e4f989d7397d22912c7730b0735fe39..6434f7ebc762f109fc3c7b5e576f619428d7abd1 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 2cdef4b1abc1385ebf6a8b82c72333d7ded7a706..fbb551b1e3fcad775f5dadcde22239163e421a12 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-24 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2003 Free Software Foundation
+// Copyright (C) 2001, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,7 +34,7 @@ void test01()
   bool test __attribute__((unused)) = true;
   string str;
 
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   str = loc_de.name();
 
   locale loc_byname(locale::classic(), new moneypunct_byname<char>("de_DE"));
index be89e7568a88b5d6c185b4d34493728bdd5d73f4..e74af6ccb6b5f53796d9231944553a6de7c549a6 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
 
   // sanity check the data is correct.
index 1a95301b621eb3d75e665fd75c308263794241ec..51ce8e95e1184213563e9e705f2d9938bde4820b 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
   // sanity check the data is correct.
index ad43c9d79cf702a0e2d8da64cf9f7172603ac9d5..c4d4cabb4c4563d5b6acae39d5687b12a52f4573 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -36,7 +38,7 @@ void test05()
   istringstream iss;
 
   // A locale that expects grouping  
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   iss.imbue(loc_de);
 
   const num_get<char>& ng = use_facet<num_get<char> >(iss.getloc()); 
index ccf51d3dbd610677302ee354a37a21c7e43c5f83..bdb400cbef2f13d4d31f848b6f7d3403a459ffac 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test06()
   double d = 0.0;
 
   istringstream iss;
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   iss.imbue(loc_de);
 
   const num_get<char>& ng = use_facet<num_get<char> >(iss.getloc()); 
index 5934b61cbd51d497f96b98ac802f9d332c5b9929..6d3b43fa9a048138cc1e734ef2e80320811b9e2c 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-12-19  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,7 +34,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   // A locale that expects grouping  
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   istringstream iss;
   iss.imbue(loc_de);
 
index 2f7385fb1552ec8695870f1a7a5b69e8378ccdde..2559c5bb6891c766b47a12f79ae8c528b7049fef 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 105db8132933aa3bd4bc7d1cc02c8643d71c5442..b09ef345820de52b75f0108ce4c5b6cdab0d9221 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index fefb91d019629fe881aa954933ab1771596462e4..8201c180ad8b401cf616516af086029764eea603 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-21 Benjamin Kosnik  <bkoz@redhat.com>
 
 // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
@@ -33,7 +35,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
 
   // sanity check the data is correct.
index 6dafa222cb8ef8fc040bb3c7c250eb58a09ae4f0..c5e634abe7f1056a9d1f49722faae818476a99cb 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
   // sanity check the data is correct.
index 618b74ceaa0d1fbc0d27f81b5e79af019b59ec91..1d5721dbeccc25676499ce551bc79feeb9dcf34f 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -36,7 +38,7 @@ void test05()
   wistringstream iss;
 
   // A locale that expects grouping  
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   iss.imbue(loc_de);
 
   const num_get<wchar_t>& ng = use_facet<num_get<wchar_t> >(iss.getloc()); 
index fac26fe173aac99a24c3ceeb0aa0516e039f46b5..9add10592cc614fd7be92ac707c5c978c081bae0 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test06()
   double d = 0.0;
 
   wistringstream iss;
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   iss.imbue(loc_de);
 
   const num_get<wchar_t>& ng = use_facet<num_get<wchar_t> >(iss.getloc()); 
index df3db53b127a0ae76f1e985a5a9db6f1431756df..9703a6143ff5cbd2360ce7d8f307047c0fa1476c 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-12-19  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,7 +34,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   // A locale that expects grouping  
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   wistringstream iss;
   iss.imbue(loc_de);
 
index 2f7385fb1552ec8695870f1a7a5b69e8378ccdde..2559c5bb6891c766b47a12f79ae8c528b7049fef 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 105db8132933aa3bd4bc7d1cc02c8643d71c5442..b09ef345820de52b75f0108ce4c5b6cdab0d9221 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 00bbd9a1cd3088edbbfeee4609ffe1ce4c1a67cb..0bfa6b9b6d683df6b371eca461994e773d159357 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-19 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de  = __gnu_test::try_named_locale("de_DE");
+  locale loc_de  = locale("de_DE");
   VERIFY( loc_c != loc_de );
 
   // cache the numpunct facets
index abb2e5ced61d1bc331ecf0628af827c2ab9b7349..419ce15b9ec2b583e95eada7449a087ed780fd73 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-require-namedlocale "" }
+
 // 2005-04-08  Paolo Carlini  <pcarlini@suse.de>
 
 // Copyright (C) 2005 Free Software Foundation
@@ -31,7 +33,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   // A locale that expects grouping.
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
 
   const string empty;
   string result;
index a90160c1cffae791b1110dbcd19d3304c0ce3a46..184955086d9e9d2da5b7b62fcf73a542780d4090 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-require-namedlocale "" }
+
 // 2005-04-17  Paolo Carlini  <pcarlini@suse.de>
 
 // Copyright (C) 2005 Free Software Foundation
@@ -31,7 +33,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   // A locale that expects grouping.
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
 
   const string empty;
   string result;
index d3c004952a919e31ad35d496d183096470d77480..0cec582ccf6a8871cd4997497e69a375b6b9b376 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-19 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
   // sanity check the data is correct.
index 467ecf9e43f48a770dc994c5f537bd9604e6fa21..d759df53a649a804543f894f23a49b814d390f1e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-19 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test05()
   bool test __attribute__((unused)) = true;
 
   // A locale that expects grouping.
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
 
   const string empty;
   string result;
index 2f8d6273b6b369ea64689aaedde5d6bb2301bb99..8639de7072814497cbf4555395fc1ab0167cbda8 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -25,8 +27,8 @@ int main()
   using namespace std;
 
   bool test __attribute__((unused)) = true;
-  locale l1 = __gnu_test::try_named_locale("de_DE");
-  locale l2 = __gnu_test::try_named_locale("es_ES");
+  locale l1 = locale("de_DE");
+  locale l2 = locale("es_ES");
   
   const num_put<char>& np = use_facet<num_put<char> >(l1);  
   ostringstream oss;
index 0bcd332b1de0d731183db492dba4b1b676132077..375cb42908d3901073cb601ce708a45ac50237e8 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index ab9a6a659274a50cf769e3ae4ae1927f9035db8d..f9ba9f42097e69fc62b8a5c44149d7ad993700de 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index efc0f51364d870ba75e21bd9fad50aaf1efc7e8f..14f0853777d403fada432d7aa8f99d862a53b151 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-19 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
 
   // cache the numpunct facets
index 226971853c45b0a531d847f4a6e0e111fadcf1b4..ba286f4e317e60fa6568e99c2caf08047855197a 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-require-namedlocale "" }
+
 // 2005-04-08  Paolo Carlini  <pcarlini@suse.de>
 
 // Copyright (C) 2005 Free Software Foundation
@@ -31,7 +33,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   // A locale that expects grouping.
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
 
   const wstring empty;
   wstring result;
index 29dc16cd8465bb2a381d775636a6e21522e8cce9..b0430b5532a6fe3e798905c31f73d51e2644c455 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-require-namedlocale "" }
+
 // 2005-04-17  Paolo Carlini  <pcarlini@suse.de>
 
 // Copyright (C) 2005 Free Software Foundation
@@ -31,7 +33,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   // A locale that expects grouping.
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
 
   const wstring empty;
   wstring result;
index 6a96202cd56953f7db6210f80fc2bfd109fd8c2f..dad56fe1731835390e5e23343e8543a3d09ba0c7 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-19 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test03()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
   // sanity check the data is correct.
index 8107aa19dfb9e7335fc94b675a0c6233a1c1b6c1..36566f7e37b1af2a291d59d34ca399184577801e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-11-19 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test05()
   bool test __attribute__((unused)) = true;
 
   // A locale that expects grouping.
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
 
   const wstring empty;
   wstring result;
index 0bcd332b1de0d731183db492dba4b1b676132077..375cb42908d3901073cb601ce708a45ac50237e8 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index ab9a6a659274a50cf769e3ae4ae1927f9035db8d..f9ba9f42097e69fc62b8a5c44149d7ad993700de 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index cbff78e57409ff671038806747b77136ed3f6687..2e8ef9a5394457f028310d318f0f6e71320490a6 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-01-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -31,9 +33,9 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us = __gnu_test::try_named_locale("en_US");
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_us = locale("en_US");
+  locale loc_fr = locale("fr_FR");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
   VERIFY( loc_us != loc_fr );
   VERIFY( loc_us != loc_de );
index 57e7f3019845e92265a69b19036562bf97f7c446..691420aa54d3ccb11373f58bfe4bbd6d4661a30f 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-01-24 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2003 Free Software Foundation
+// Copyright (C) 2001, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -29,7 +31,7 @@ void test02()
   
   bool test __attribute__((unused)) = true;
 
-  locale loc_it = __gnu_test::try_named_locale("it_IT");
+  locale loc_it = locale("it_IT");
 
   const numpunct<char>& nump_it = use_facet<numpunct<char> >(loc_it); 
 
index 19e4210ff2cee5b0eec9d1e3ec2d1da9e677d260..1ef3f20576cfb04a4bfe89ec676f0ee795f74a0a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 292b8c738e4f989d7397d22912c7730b0735fe39..6434f7ebc762f109fc3c7b5e576f619428d7abd1 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 94e4b1d341f882cefcac694a99750b8b5be5e4b9..af771a97de26cb635c333cfef6184995e485c972 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-01-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -31,9 +33,9 @@ void test02()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us = __gnu_test::try_named_locale("en_US");
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_us = locale("en_US");
+  locale loc_fr = locale("fr_FR");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_c != loc_de );
   VERIFY( loc_us != loc_fr );
   VERIFY( loc_us != loc_de );
index 19e4210ff2cee5b0eec9d1e3ec2d1da9e677d260..1ef3f20576cfb04a4bfe89ec676f0ee795f74a0a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 292b8c738e4f989d7397d22912c7730b0735fe39..6434f7ebc762f109fc3c7b5e576f619428d7abd1 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 171149ec76750ba49d11bfc00363d9f44d42ce8e..56ce1aa5e5b088047f7b08bdb2805f293c72a631 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-01-24 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2003 Free Software Foundation
+// Copyright (C) 2001, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -30,7 +32,7 @@ void test01()
   bool test __attribute__((unused)) = true;
   string str;
 
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   str = loc_de.name();
 
   locale loc_byname(locale::classic(), new numpunct_byname<char>("de_DE"));
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c6356dfa6c4a1ccc42c46902ad8106b1212f6cfb..469eadfe4702c9243cfb644eff3311a7eec5eefd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 3be97fb4ee772dd452f57f3d57aec001d7254d55..e8f618fcf290467afde8e61925edb8739f352144 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 99e4aeac048cde18cb39c6ad8ae7d37720856675..14906c26bbe8df4714051126ce7126cfa36b7f0f 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-10-27 Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   // basic construction
-  locale loc_is = __gnu_test::try_named_locale("is_IS");
+  locale loc_is = locale("is_IS");
 
   // create an ostream-derived object, cache the time_get facet
   iterator_type end;
index f8f28dad5b978db1a135e0baa8e7610c34d514e3..d2693c62be8986d45738d94ae6b08bd264df90b7 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,8 +35,8 @@ void test02()
 
   // basic construction and sanity checks.
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_hk = locale("en_HK");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_hk != loc_c );
   VERIFY( loc_hk != loc_de );
 
index 294934099c11da6b0dd3b25b62b3304d015c291c..cbe03885d04db80aed90be591b99ddbd25f75294 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index e54f823b8f91c045a13a1c493eb933046e7c2fab..de537302521e5b11bd62e4ebd3a6cbe39323ef9e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index c122d6598dc4da4d47adf76aa51ff127982584a1..95df2c95dcfbeb7c7a084c779c7e052073d3e742 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-10-27 Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   // basic construction
-  locale loc_is = __gnu_test::try_named_locale("is_IS");
+  locale loc_is = locale("is_IS");
 
   // create an ostream-derived object, cache the time_get facet
   iterator_type end;
index 4ca802a68af9612f06ecd71b21e9a8895a8ecd1e..00e7ab8ef5be8f44187f6ca98e44b9a6d90ae498 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,8 +35,8 @@ void test02()
 
   // basic construction and sanity checks.
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_hk = locale("en_HK");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_hk != loc_c );
   VERIFY( loc_hk != loc_de );
 
index a64efe834c26bdbfdcce9ea9810acae4ead4af67..11f437bbfe06981e99cdf516a1e0f514d540c10d 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-require-namedlocale "" }
+
 // 2003-12-17  Paolo Carlini  <pcarlini@suse.de>
 
 // Copyright (C) 2003 Free Software Foundation
@@ -31,7 +33,7 @@ void test01()
 
   typedef istreambuf_iterator<wchar_t> iterator_type;
 
-  locale loc_tw = __gnu_test::try_named_locale("zh_TW");
+  locale loc_tw = locale("zh_TW");
 
   iterator_type end;
 
index 294934099c11da6b0dd3b25b62b3304d015c291c..cbe03885d04db80aed90be591b99ddbd25f75294 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index e54f823b8f91c045a13a1c493eb933046e7c2fab..de537302521e5b11bd62e4ebd3a6cbe39323ef9e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 7cd4cc6b9b62cc0bd3b432f270d40b2d8d2d58b4..19b0b1cf274cf3be08726407b1279bca751bfb49 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,8 +35,8 @@ void test02()
 
   // basic construction and sanity checks.
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_hk = locale("en_HK");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_hk != loc_c );
   VERIFY( loc_hk != loc_de );
 
index 294934099c11da6b0dd3b25b62b3304d015c291c..cbe03885d04db80aed90be591b99ddbd25f75294 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index e54f823b8f91c045a13a1c493eb933046e7c2fab..de537302521e5b11bd62e4ebd3a6cbe39323ef9e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 5148c40c33ad3ebff8e1265dfb40f6ff966945f0..1550b62f36785a2715a2cfb0e4f51729fba6cb54 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,8 +35,8 @@ void test02()
 
   // basic construction and sanity checks.
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_hk = locale("en_HK");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_hk != loc_c );
   VERIFY( loc_hk != loc_de );
 
index 294934099c11da6b0dd3b25b62b3304d015c291c..cbe03885d04db80aed90be591b99ddbd25f75294 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index e54f823b8f91c045a13a1c493eb933046e7c2fab..de537302521e5b11bd62e4ebd3a6cbe39323ef9e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index a06b6bbbee5785318afac5abc0db71618204bc66..77d50f7059a0974f35ca9b2113f252681422709f 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test01()
 
   // basic construction and sanity checks.
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_de != loc_c );
 
   const string empty;
index fccee2723405151e4f06577829a47abd12e5161b..11d7ed586d1eb59ef1e2bb60539be76b378ae525 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test02()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_hk != loc_c );
 
   const string empty;
index 294934099c11da6b0dd3b25b62b3304d015c291c..cbe03885d04db80aed90be591b99ddbd25f75294 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index e54f823b8f91c045a13a1c493eb933046e7c2fab..de537302521e5b11bd62e4ebd3a6cbe39323ef9e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 4e7137ed6a5eb8b0683a4efbc5c4974b2813384d..dd23ad606033856be87558bc91c8bb4a95f904d9 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test01()
 
   // basic construction and sanity checks.
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_de != loc_c );
 
   const wstring empty;
index 8b736d289cc1454e3d13fe0206347470e2064fdb..a36b06c7047a9974dc7595dcadb3e37c404f1245 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,7 +35,7 @@ void test02()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_hk != loc_c );
 
   const wstring empty;
index 294934099c11da6b0dd3b25b62b3304d015c291c..cbe03885d04db80aed90be591b99ddbd25f75294 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index e54f823b8f91c045a13a1c493eb933046e7c2fab..de537302521e5b11bd62e4ebd3a6cbe39323ef9e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 27a37beade5e55256bfb230a4b2f97a8614487ef..9e9eacb5cfc8af28452a41f0e201d20180073adc 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,8 +35,8 @@ void test02()
 
   // basic construction and sanity checks.
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_hk = locale("en_HK");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_hk != loc_c );
   VERIFY( loc_hk != loc_de );
 
index 294934099c11da6b0dd3b25b62b3304d015c291c..cbe03885d04db80aed90be591b99ddbd25f75294 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index e54f823b8f91c045a13a1c493eb933046e7c2fab..de537302521e5b11bd62e4ebd3a6cbe39323ef9e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index ba86a67899c727eb14b05c3de2b9992f9c02a323..7c89005bacbd31ebff4e9fbf1f1cf96b8f3ccd25 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,8 +35,8 @@ void test02()
 
   // basic construction and sanity checks.
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_hk = locale("en_HK");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_hk != loc_c );
   VERIFY( loc_hk != loc_de );
 
index 294934099c11da6b0dd3b25b62b3304d015c291c..cbe03885d04db80aed90be591b99ddbd25f75294 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index e54f823b8f91c045a13a1c493eb933046e7c2fab..de537302521e5b11bd62e4ebd3a6cbe39323ef9e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index bd7bfbd4eb10a4ec3c986763ab6cb54c70b7cd47..37f34bd6f92c359d5fc98f344a9aca67f68bf968 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-08-25  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -37,7 +39,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_in = __gnu_test::try_named_locale("ta_IN");
+  locale loc_in = locale("ta_IN");
   VERIFY( loc_in != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index 004bea81fff8eab8e96033e4a7befaf1cc257d83..d389fbf4c8e5a60179389ab27e623ae06cbdde23 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -36,7 +38,7 @@ void test02()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_de != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index 4300e7da79969616237a3c567d4e56bc1a3e610b..205dbe2e2429455d000000917ac5be8162ddc19e 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -36,7 +38,7 @@ void test03()
 
   // basic construction and sanity check.
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_hk != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index 95f922cb2f12e085fee00d316172a2c3d3a9fc0e..c70779258d47c3431ff22d73856ebda0dea9e0b8 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -36,7 +38,7 @@ void test04()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+  locale loc_fr = locale("fr_FR@euro");
   VERIFY( loc_fr != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index f840713eb1c02b4c593670af329d1eb3df176cf5..91d74120f328102853393f27482c4caa50532164 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -39,7 +41,7 @@ void test06()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_de != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index 799cf430ff69d5f4da5a239c38db806ec6e15adb..13d4baaef6c8807d398b081d839f1e828feb9f56 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -39,7 +41,7 @@ void test07()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_hk != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index d54380f899996d9cb464e8e7a602f1aea3fd0a7b..7a5f64fc2dd96d3de923125147b2df98ed2cb3c9 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -39,7 +41,7 @@ void test08()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+  locale loc_fr = locale("fr_FR@euro");
   VERIFY( loc_fr != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index 715000e9ddeef8631e023200e78628ed16a44bd2..761545296de7c38b35edf0aac87428c64bb6ba42 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -25,8 +27,8 @@ int main()
   using namespace std;
 
   bool test __attribute__((unused)) = true;
-  locale l1 = __gnu_test::try_named_locale("de_DE");
-  locale l2 = __gnu_test::try_named_locale("es_ES");
+  locale l1 = locale("de_DE");
+  locale l2 = locale("es_ES");
   
   const time_put<char> &tp = use_facet<time_put<char> >(l1);  
   ostringstream oss;
index c887914ee63c8f093ce5d2222de52196a7e6da1d..9f1b26a73fa2651c465e7b04984f24be98f0201d 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 097e11a55bbed4819e8a04ebfc569027d3e8ce92..71caf1d4985085b525e0014319ff60e219184b2a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index a5b684643bd6f5d74fe72a14902764059169cf5e..c2b02f8a6023ad6cd4f9b05246c3c290a187beba 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-08-25  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -37,7 +39,7 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_in = __gnu_test::try_named_locale("ta_IN");
+  locale loc_in = locale("ta_IN");
   VERIFY( loc_in != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index 2250127379a14ff3b0b81378b728b1c09ae98bf3..46ce16ffd09a9ffef41d282b4db60abcadd49d1c 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -36,7 +38,7 @@ void test02()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_de != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index 5494d76245b1a4fc6096c98039270d8d4e7ff5ee..eba540863c89524d6297fb8972f174e4cc08c84a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -36,7 +38,7 @@ void test03()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_hk != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index aec5c0a6eb6ebd54dbc867106dbef901e34c48a0..a98dd0007657010141d06f5c23b54e4c1eed3094 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -36,7 +38,7 @@ void test04()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+  locale loc_fr = locale("fr_FR@euro");
   VERIFY( loc_fr != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index c38ea8fc278d4b6c7454bac2937d190b6bb6b920..47d7fa7e0345166db954b9c3c6c2e5650d9511cb 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -39,7 +41,7 @@ void test06()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   VERIFY( loc_de != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index 7d0f63ef51fdd1796d75f53f80a4dffd0adf60a8..aa36a454e372b421bc0195696bec08d01f3b5ecf 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -39,7 +41,7 @@ void test07()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_hk != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index 83f42ae9d7282e12d9e6562b15ce7c9bd10c65b4..b3cbdd838355c2e6bfe53307aec01029226e7dd2 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -39,7 +41,7 @@ void test08()
 
   // basic construction and sanity check
   locale loc_c = locale::classic();
-  locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+  locale loc_fr = locale("fr_FR@euro");
   VERIFY( loc_fr != loc_c );
 
   // create an ostream-derived object, cache the time_put facet
index c887914ee63c8f093ce5d2222de52196a7e6da1d..9f1b26a73fa2651c465e7b04984f24be98f0201d 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 097e11a55bbed4819e8a04ebfc569027d3e8ce92..71caf1d4985085b525e0014319ff60e219184b2a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
index 6eb5d9ae799c6fedce76b687eba1db80ba88f71d..4fa75f5d67a8ead0b3ec83939a962ee49667e999 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -45,7 +47,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   Buf buf;
-  std::locale loc(__gnu_test::try_named_locale("fr_FR"));
+  std::locale loc(std::locale("fr_FR"));
 
   buf.pubimbue(loc);
 
index 672394ac829f8d424a0ed11866f2a1788fe46563..6a3c97db0720dec46d3abbcb81b5b96d39b6d4e5 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -30,8 +32,8 @@ void test01()
 
   filebuf fb;
   
-  fb.pubimbue(__gnu_test::try_named_locale("en_US"));
-  fb.pubimbue(__gnu_test::try_named_locale("en_US"));
+  fb.pubimbue(locale("en_US"));
+  fb.pubimbue(locale("en_US"));
   
   fb.open("tmp_13171-1", ios_base::out);
   fb.sputc('F');
index ec7be4982740fb4ff5d41c6e771fede0e5ab9223..87930e63337a44ee91d39b433a0d4c1fd3d70908 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-require-namedlocale "" }
 // { dg-require-fork "" }
 // { dg-require-mkfifo "" }
 
@@ -36,8 +37,8 @@ void test01()
   using namespace std;
   using namespace __gnu_test;
 
-  locale loc_fr(__gnu_test::try_named_locale("fr_FR"));
-  locale loc_en(__gnu_test::try_named_locale("en_US"));
+  locale loc_fr(locale("fr_FR"));
+  locale loc_en(locale("en_US"));
 
   const char* name = "tmp_fifo_13171-2";
   unlink(name);
index a6cb7b12a1d2912772fe0feb1940e544ecd16c8c..24d96d384faab7a23db9442212fb5314b37d0209 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -39,10 +41,9 @@ void test01()
   using namespace std;
 
   filebuf fb;
-  fb.pubimbue(locale(__gnu_test::try_named_locale("en_US"),
-                    new Cvt));
+  fb.pubimbue(locale(locale("en_US"), new Cvt));
   fb.open("tmp_13171-4", ios_base::out);
-  fb.pubimbue(__gnu_test::try_named_locale("fr_FR"));
+  fb.pubimbue(locale("fr_FR"));
   fb.sputc('N');
   fb.pubsync();
   fb.close();
index 6a7376df18f4913b063b1fc4192a8fc4fcb0e218..d08de2a2672fecf7a65088bfb1ef0485c648b253 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-require-namedlocale "" }
 // { dg-require-fork "" }
 // { dg-require-mkfifo "" }
 
@@ -39,8 +40,8 @@ void test01()
   using namespace std; 
   using namespace __gnu_test;
 
-  locale loc_en(__gnu_test::try_named_locale("en_US"));
-  locale loc_fr(__gnu_test::try_named_locale("fr_FR"));
+  locale loc_en(locale("en_US"));
+  locale loc_fr(locale("fr_FR"));
 
   const char* name = "tmp_fifo_13582-2";
   unlink(name);
index 0b7369e12b1a9ff484f682e59074f1c759ee6cbc..0529f01e098c02bcdd0fbbafc172a42fae085c6a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-04-16  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -42,7 +44,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   Buf fb;
-  locale loc_us = __gnu_test::try_named_locale("en_US");
+  locale loc_us = locale("en_US");
   fb.pubimbue(loc_us);
   fb.open("tmp_14975-1", ios_base::out);
   
index 14842bc6fc70113ce3ee7c5a1bdb27d566747ee4..9aec985d1fece25c5920a26213228c805d78d72b 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-05-13 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -42,7 +44,7 @@ void test02()
   VERIFY( p != bad);
 
   // According to 27.5.2.2.1, loc == getloc() after pubimbue(loc).
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   locale ret = ob.pubimbue(loc_de);
   VERIFY( ob.getloc() == loc_de );
 }
index 6cddf0190d077419df14834fa2dbd505577ab514..6b4ce3da300953db33603ee6831a29feef8d75be 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,10 +36,10 @@ void test07()
   std::filebuf ob;
   VERIFY( ob.getloc() == loc );
 
-  locale::global(__gnu_test::try_named_locale("en_US"));
+  locale::global(locale("en_US"));
   VERIFY( ob.getloc() == loc );
 
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   locale ret = ob.pubimbue(loc_de);
   VERIFY( ob.getloc() == loc_de );
   VERIFY( ret == loc );
index 67fccda2099208606ba70d0082fd0ef7bb81f5db..5b7db8bc9b7247f78930b51b9390e029ddffb483 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -30,7 +32,7 @@ void test01()
   using namespace std;
   bool test __attribute__((unused)) = true;
 
-  locale loc_is(__gnu_test::try_named_locale("is_IS.UTF-8"));
+  locale loc_is(locale("is_IS.UTF-8"));
   
   {
     wofstream out("tmp_12868");
index db3e5360a06bfc12c36d7520567048ae41afae14..95f9871f396fd0ce30e2ead43f01a89a72805996 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -45,7 +47,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   Buf buf;
-  std::locale loc(__gnu_test::try_named_locale("fr_FR"));
+  std::locale loc(std::locale("fr_FR"));
 
   buf.pubimbue(loc);
 
index c2864e735d15d4d3f01e7b749190deb476e6878f..b519996ff5a7df35c8ab4c9fc11d874f4a4e0989 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -28,19 +30,19 @@ void test01()
   bool test __attribute__((unused)) = true;
   using namespace std;
 
-  locale::global(__gnu_test::try_named_locale("fr_FR"));
+  locale::global(locale("fr_FR"));
 
   ios_base::sync_with_stdio(false);
 
-  locale::global(__gnu_test::try_named_locale("en_US"));
-  cin.imbue(__gnu_test::try_named_locale("en_US"));
-  cout.imbue(__gnu_test::try_named_locale("en_US"));
-  cerr.imbue(__gnu_test::try_named_locale("en_US"));
-  clog.imbue(__gnu_test::try_named_locale("de_DE"));
-  wcin.imbue(__gnu_test::try_named_locale("en_US"));
-  wcout.imbue(__gnu_test::try_named_locale("en_US"));
-  wcerr.imbue(__gnu_test::try_named_locale("en_US"));
-  wclog.imbue(__gnu_test::try_named_locale("de_DE"));
+  locale::global(locale("en_US"));
+  cin.imbue(locale("en_US"));
+  cout.imbue(locale("en_US"));
+  cerr.imbue(locale("en_US"));
+  clog.imbue(locale("de_DE"));
+  wcin.imbue(locale("en_US"));
+  wcout.imbue(locale("en_US"));
+  wcerr.imbue(locale("en_US"));
+  wclog.imbue(locale("de_DE"));
  
   cout << 'f' << endl;
   cerr << 'r' << endl;
index 80fd8e92f916d6701f486b97e0093ee4f13222cc..976dc62abb354f02802171529a496a971e13aeaf 100644 (file)
@@ -1,9 +1,10 @@
+// { dg-require-namedlocale "" }
 // { dg-require-fork "" }
 // { dg-require-mkfifo "" }
 
 // 2004-01-11  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -39,8 +40,8 @@ void test01()
   using namespace std;
   using namespace __gnu_test;
 
-  locale loc_en(__gnu_test::try_named_locale("en_US"));
-  locale loc_fr(__gnu_test::try_named_locale("fr_FR"));
+  locale loc_en(locale("en_US"));
+  locale loc_fr(locale("fr_FR"));
 
   const char* name = "tmp_fifo_13582-2";
   unlink(name);
index 3d15b24e2034cee2e6235f4fdcccf18c9067052b..b37d9eadd3c2dffdc4ff3fb6e006a736c679763a 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-01-11  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -30,8 +32,8 @@ void test01()
   bool test __attribute__((unused)) = true;
   using namespace std;
 
-  locale loc_en(__gnu_test::try_named_locale("en_US"));
-  locale loc_fr(__gnu_test::try_named_locale("fr_FR"));
+  locale loc_en(locale("en_US"));
+  locale loc_fr(locale("fr_FR"));
 
   const char* name = "tmp_13582-3.tst";
 
index d65b8d09f7023fd6eb181c2a2ecb82da7caf934f..73d3b7752542ca1979ce34224375e53fa847e45d 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-require-namedlocale "" }
 // { dg-require-fork "" }
 // { dg-require-mkfifo "" }
 
@@ -37,7 +38,7 @@ void test01()
   using namespace __gnu_test;
   bool test __attribute__((unused)) = true;
 
-  locale loc_us = try_named_locale("en_US");
+  locale loc_us = locale("en_US");
 
   const char* name = "tmp_14975-2";
 
index 1def258c7d639cf4c8e22f9dd1d9697daefbe990..5ed74c786be197a8682c7c1e3c952b6f257839e2 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-05-13 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -42,7 +44,7 @@ void test02()
   VERIFY( p != bad);
 
   // According to 27.5.2.2.1, p1, loc == getloc() after pubimbue(loc).
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   locale ret = ob.pubimbue(loc_de);
   VERIFY( ob.getloc() == loc_de );
 }
index 9cf3d5bd4d3bcb2312bfbddc7e7837397173a5d7..a65309bc9d8a2e474eecdfcbcc2cc714a9d02e4c 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,10 +36,10 @@ void test07()
   std::wfilebuf ob;
   VERIFY( ob.getloc() == loc );
 
-  locale::global(__gnu_test::try_named_locale("en_US"));
+  locale::global(locale("en_US"));
   VERIFY( ob.getloc() == loc );
 
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   locale ret = ob.pubimbue(loc_de);
   VERIFY( ob.getloc() == loc_de );
   VERIFY( ret == loc );
index c4e45fb9add054ae083312ef77170d3cfdd8de31..31ea0186b34b05f7f8372a3d87bd916ec1e18d27 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -28,7 +30,7 @@ void test01()
   bool test __attribute__((unused)) = true;
 
   wfilebuf fb;
-  locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
+  locale loc(locale("en_US.UTF-8"));
   fb.pubimbue(loc);
   fb.pubsetbuf(0, 0);
   fb.open("tmp_11305-1", ios_base::out);
index 5e1d0968774d3373bc3468c87095b6fa360bf46d..398bc2a956bc3077c7c0f7759ff284ec2795dd86 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -28,7 +30,7 @@ void test02()
   bool test __attribute__((unused)) = true;
 
   wfilebuf fb;
-  locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
+  locale loc(locale("en_US.UTF-8"));
   fb.pubimbue(loc);
   fb.pubsetbuf(0, 0);
   fb.open("tmp_11305-2", ios_base::out);
index 02f8363d7d6e02da889bec29313526bdfa82dcc2..7aee9d432faa9b01579de777d5686de52fd710a4 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -28,7 +30,7 @@ void test03()
   bool test __attribute__((unused)) = true;
 
   wfilebuf fb;
-  locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
+  locale loc(locale("en_US.UTF-8"));
   fb.pubimbue(loc);
   fb.open("tmp_11305-3", ios_base::out);
   wfilebuf::int_type n1 = fb.sputc(0x20000000);
index 3a04d81daaf6be11f50d9fd42a590b98152de6f3..b3d4c20cf12503963dea051439e177edbf3a5ac7 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -28,7 +30,7 @@ void test04()
   bool test __attribute__((unused)) = true;
 
   wfilebuf fb;
-  locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
+  locale loc(locale("en_US.UTF-8"));
   fb.pubimbue(loc);
   fb.open("tmp_11405-4", ios_base::out);
   wfilebuf::int_type n1 = fb.sputc(0x20000000);
index 003f281658816ece0683b68e97dd490a2f6b450e..43148307f80bd2cb06287783c2bcababae40eba8 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-09-08  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -90,7 +92,7 @@ void test01()
   const size_t wlen = sizeof(wstr) / sizeof(wstr[0]);
 
   const int loops = 2 * BUFSIZ / wlen;
-  locale loc = __gnu_test::try_named_locale("se_NO.UTF-8");
+  locale loc = locale("se_NO.UTF-8");
 
   FILE* file = fopen(name, "w");
   for (int i = 0; i < loops; ++i)
index 91412bcf4ca6911cd54f47488d1a107266b5dfda..6be7b287f84272216883b15c4a4b5ccd0cc26b9c 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-09-08  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test02()
   bool test __attribute__((unused)) = true;
   const char name[] = "tmp_seekoff-2.tst";
 
-  locale loc = __gnu_test::try_named_locale("se_NO.UTF-8");
+  locale loc = locale("se_NO.UTF-8");
 
   const size_t size = 10;
   wchar_t buf[size];
index fbe43b826351d0a6d95a57e68831644e8645bf28..be4c1bc64adad3471d9f55d5f1193460e176864b 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-require-namedlocale "" }
+
 // 2003-10-07  Petur Runolfsson  <peturr02@ru.is>
 //
 // Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
@@ -92,7 +94,7 @@ void test01()
   const size_t wlen = sizeof(wstr) / sizeof(wstr[0]);
 
   const int loops = 2 * BUFSIZ / wlen;
-  locale loc = __gnu_test::try_named_locale("se_NO.UTF-8");
+  locale loc = locale("se_NO.UTF-8");
 
   FILE* file = fopen(name, "w");
   for (int i = 0; i < loops; ++i)
index 8afb2b6621af7d14b2ba67ed681017d2bb2517e7..cccc4025943a385b61d99e90267f4955c7615abd 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-09-04  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -85,7 +87,7 @@ void test01()
   const size_t clen = sizeof(cstr) / sizeof(cstr[0]);
   const size_t wlen = sizeof(wstr) / sizeof(wstr[0]);
 
-  locale loc = __gnu_test::try_named_locale("se_NO.UTF-8");
+  locale loc = locale("se_NO.UTF-8");
 
   FILE* file = fopen(name, "w");
   fwrite(cstr, 1, clen, file);
index ba59cb0d7c7b6bee278ff4f4cb3294fa0a2bdad8..cb7168a26ddbb324cc269cbe27c00d5538022ce3 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test01()
   fbout.close();
   
   wfilebuf fbin;
-  locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
+  locale loc(locale("en_US.UTF-8"));
   fbin.pubimbue(loc);
   fbin.open(name_01, ios_base::in);
   VERIFY( fbin.sbumpc() == L'a' );
index 3917ca5a84627d2dd434c3fe1e2de974ace5ddf1..d687f2a421d6e10e5ef752f3256ab57d4c76041d 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test02()
   fbout.close();
   
   wfilebuf fbin;
-  locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
+  locale loc(locale("en_US.UTF-8"));
   fbin.pubimbue(loc);
   fbin.open(name_02, ios_base::in);
   VERIFY( fbin.sbumpc() == L'a' );
index dcf164bb37df3349683911f22309dfb2ab43b094..ba3d33a1e2e7d98997f672bf928be6b8b030d86f 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test03()
   fbout.close();
   
   wfilebuf fbin;
-  locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
+  locale loc(locale("en_US.UTF-8"));
   fbin.pubimbue(loc);
   fbin.pubsetbuf(0, 0);
   fbin.open(name_03, ios_base::in);
index 5b4ebe4f6efa499ea9a03a580ccf6f8d92ef5c5d..ed9a61ece4da9ee2ea1a8655678b0d9b5f5c9975 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test04()
   fbout.close();
   
   wfilebuf fbin;
-  locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
+  locale loc(locale("en_US.UTF-8"));
   fbin.pubimbue(loc);
   fbin.pubsetbuf(0, 0);
   fbin.open(name_04, ios_base::in);
index 5f255b2dc22428c7843fe733174e92ce4386b7ff..61f8749af752cc01f63b16d3bb617e236c482078 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-09-04  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -85,7 +87,7 @@ void test02()
   const size_t clen = sizeof(cstr) / sizeof(cstr[0]);
   const size_t wlen = sizeof(wstr) / sizeof(wstr[0]);
 
-  locale loc = __gnu_test::try_named_locale("se_NO.UTF-8");
+  locale loc = locale("se_NO.UTF-8");
 
   FILE* file = fopen(name, "w");
   fwrite(cstr, 1, clen, file);
index 8812f1e38280d8fe0fa53c34de0bfd6752ba1ec1..2f8b562a0aaee66f751ab912d7b0ef75b68f7ab7 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-09-04  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -86,7 +88,7 @@ void test03()
   const size_t wlen = sizeof(wstr) / sizeof(wstr[0]);
 
   const int loops = 2 * BUFSIZ / wlen;
-  locale loc = __gnu_test::try_named_locale("se_NO.UTF-8");
+  locale loc = locale("se_NO.UTF-8");
 
   FILE* file = fopen(name, "w");
   for (int i = 0; i < loops; ++i)
index 75301590050327efc9d80c4141d1ef1836d4d948..a070c59ad4212dfa4b6829c42b19e9b6dbc03d88 100644 (file)
@@ -1,7 +1,9 @@
+// { dg-require-namedlocale "" }
+
 // 2003-09-04  Petur Runolfsson  <peturr02@ru.is>
 // Adapted from 27_io/basic_filebuf/underflow/char/2.cc
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -30,7 +32,7 @@ void test01()
   bool test __attribute__((unused)) = true;
   using namespace std;
 
-  locale loc (__gnu_test::try_named_locale("se_NO.UTF-8"));
+  locale loc (locale("se_NO.UTF-8"));
   wfilebuf fb_out, fb_in_out;
   fb_out.pubimbue(loc);
   fb_in_out.pubimbue(loc);
index 5d8e25e5325e6f5ce74e59871c3aadc5c4e54604..82d531080a89b2d382cd6c798d5490abb51c7cc1 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-09-04  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation
+// Copyright (C) 2003, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test05()
 
   wfilebuf fb;
   fb.pubsetbuf(0, 0);
-  fb.pubimbue(__gnu_test::try_named_locale("se_NO.UTF-8"));
+  fb.pubimbue(locale("se_NO.UTF-8"));
 
   FILE* file = fopen(name, "w");
   setvbuf(file, 0, _IONBF, 0);
index f1fd8ef412c537a97ce2a33144bacd96c81dc31c..05bebd1522e8fd184bda68303c43278e77c92433 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-05-03  Petur Runolfsson <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test01()
     putc(static_cast<unsigned char>(i), file);
   fclose(file);
 
-  locale loc (__gnu_test::try_named_locale("de_DE.ISO-8859-15@euro"));
+  locale loc (locale("de_DE.ISO-8859-15@euro"));
   wchar_t buf[1];
   wfilebuf fb;
   fb.pubimbue(loc);
index 638bd46e141e5333ee75a02bbde4ca069ef963c9..bd75da7896e7c80c24c5e935951706ecefbeefe6 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 1999-09-20 bkoz
 
-// Copyright (C) 1999, 2003 Free Software Foundation, Inc.
+// Copyright (C) 1999, 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -43,7 +45,7 @@ void test03()
   typedef std::ios_base::fmtflags fmtflags;
   typedef std::ios_base::iostate iostate;
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   std::ios ios_01(NULL);
   std::ios ios_02(NULL);
   ios_01.imbue(loc_c);
index 5fde7e91b2ec2d69512afd14b3377b048e969a53..a985325c49fe7f2356c5da77dd952af8b13093b2 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-require-namedlocale "" }
+
 // 1999-11-15 Kevin Ediger  <kediger@licor.com>
 // test the floating point inserters (facet num_put)
 
@@ -41,7 +43,7 @@ test02()
   os2.setf(ios::fixed);
 
   // Check it can be done in a locale with grouping on.
-  locale loc2 = __gnu_test::try_named_locale("de_DE");
+  locale loc2 = locale("de_DE");
   os2.imbue(loc2);
   os2 << fixed << setprecision(3) << val2 << endl;
   os2 << endl;
index 4d5a4c4bb19254a7ea1b9c5cb2601beb9b947b4b..d398fdff0f65c28bd6486388f016e22283991e80 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-require-namedlocale "" }
+
 // Copyright (C) 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -38,7 +40,7 @@ test02()
   os2.setf(wios::fixed);
 
   // Check it can be done in a locale with grouping on.
-  locale loc2 = __gnu_test::try_named_locale("de_DE");
+  locale loc2 = locale("de_DE");
   os2.imbue(loc2);
   os2 << fixed << setprecision(3) << val2 << endl;
   os2 << endl;
index 4f5c0466f1a9535f91fa7e1641ad120723d6b16b..a1994017446e8b13370a412638141b1b9e1f5131 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test01()
   bool test __attribute__((unused)) = true;
   
   Buf1 buf;
-  std::locale loc(__gnu_test::try_named_locale("is_IS.UTF-8"));
+  std::locale loc(std::locale("is_IS.UTF-8"));
 
   buf.pubimbue(loc);
 
index 812d822cccabe3b8d06d2ee3526d7708fd2fb220..cba068c613e27471801432c4ae23d22b6ab38c1e 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -45,7 +47,7 @@ void test02()
   bool test __attribute__((unused)) = true;
 
   Buf2 buf;
-  std::locale loc(__gnu_test::try_named_locale("en_US"));
+  std::locale loc(std::locale("en_US"));
 
   buf.pubimbue(loc);
 
index 964fcca3cf3d9e494e879fbdd1819de84a02cf7e..fd1518872924d11e06e751da3d68fbc2f9e73117 100644 (file)
@@ -1,6 +1,9 @@
+// { dg-require-namedlocale "" }
+
 // 1999-10-11 bkoz
 
-// Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 
+// Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -51,10 +54,10 @@ void test08()
   testbuf ob;
   VERIFY( ob.getloc() == loc );
 
-  locale::global(__gnu_test::try_named_locale("en_US"));
+  locale::global(locale("en_US"));
   VERIFY( ob.getloc() == loc );
 
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   locale ret = ob.pubimbue(loc_de);
   VERIFY( ob.getloc() == loc_de );
   VERIFY( ret == loc );
index 9410a47f063be40631eb2d9053d924f5e3f1aa1b..1e1903a2cd6d3b516ea324520784d2e9b66aac27 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test01()
   bool test __attribute__((unused)) = true;
   
   Buf1 buf;
-  std::locale loc(__gnu_test::try_named_locale("is_IS.UTF-8"));
+  std::locale loc(std::locale("is_IS.UTF-8"));
 
   buf.pubimbue(loc);
 
index 0fa76d5e5e452e3ae0d44807becb61de5fda273f..fa6cf58dc1d5c2080138105d6f5819e53a63fa5e 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -45,7 +47,7 @@ void test02()
   bool test __attribute__((unused)) = true;
 
   Buf2 buf;
-  std::locale loc(__gnu_test::try_named_locale("en_US"));
+  std::locale loc(std::locale("en_US"));
 
   buf.pubimbue(loc);
 
index 68a467822a0a4bda3188ab8da8556214c83b16f7..8cf358942cb378681dee6b52ef53f9d6f03649aa 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 1999-10-11 bkoz
 
-// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
+// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -52,10 +54,10 @@ void test08()
   testbuf ob;
   VERIFY( ob.getloc() == loc );
 
-  locale::global(__gnu_test::try_named_locale("en_US"));
+  locale::global(locale("en_US"));
   VERIFY( ob.getloc() == loc );
 
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   locale ret = ob.pubimbue(loc_de);
   VERIFY( ob.getloc() == loc_de );
   VERIFY( ret == loc );
index 552888fba7f19ff331a614f0c176d95217f34d6d..1db67be2c1882fadc35f50802c275dd9a6677739 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,10 +35,10 @@ void test03()
   std::stringbuf ob;
   VERIFY( ob.getloc() == loc );
 
-  locale::global(__gnu_test::try_named_locale("en_US"));
+  locale::global(locale("en_US"));
   VERIFY( ob.getloc() == loc );
 
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   locale ret = ob.pubimbue(loc_de);
   VERIFY( ob.getloc() == loc_de );
   VERIFY( ret == loc );
index b91b067534d9b35ed04b00010ebab45c211fd79c..4bb44aac61de6ba7226ab9eeec69bd8844a2dac7 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -33,10 +35,10 @@ void test03()
   std::wstringbuf ob;
   VERIFY( ob.getloc() == loc );
 
-  locale::global(__gnu_test::try_named_locale("en_US"));
+  locale::global(locale("en_US"));
   VERIFY( ob.getloc() == loc );
 
-  locale loc_de = __gnu_test::try_named_locale("de_DE");
+  locale loc_de = locale("de_DE");
   locale ret = ob.pubimbue(loc_de);
   VERIFY( ob.getloc() == loc_de );
   VERIFY( ret == loc );
index 3c576530b315157f9374274723d7425c399b905e..757738b74302ac11d7ed9bdc62e9083131936a97 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-05-01  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -30,7 +32,7 @@ void test10()
   bool test __attribute__((unused)) = true;
   const char* name = "tmp_10";
 
-  locale loc(__gnu_test::try_named_locale("se_NO.UTF-8"));
+  locale loc(locale("se_NO.UTF-8"));
   locale::global(loc);
   wcin.imbue(loc);
   wcout.imbue(loc);
index 576b6107882fcf4723aa19117a2eeee7a014c506..bcefabf49f7141cd3ec13422c60f0602fcd7ffe5 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-05-01  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -30,7 +32,7 @@ void test11()
   bool test __attribute__((unused)) = true;
   const char* name = "tmp_11";
 
-  locale loc(__gnu_test::try_named_locale("se_NO.UTF-8"));
+  locale loc(locale("se_NO.UTF-8"));
   locale::global(loc);
   wcin.imbue(loc);
   wcout.imbue(loc);
index c5c70450ba7863fe405092b3aa4a56c30f683864..11d7f263d0591fbb229f7474bd6cbf36505df115 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-09-04  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test12()
   bool test __attribute__((unused)) = true;
   const char* name = "tmp_12";
 
-  locale loc(__gnu_test::try_named_locale("se_NO.UTF-8"));
+  locale loc(locale("se_NO.UTF-8"));
   locale::global(loc);
   std::ios_base::sync_with_stdio(false);
   wcout.imbue(loc);
index b4f735101d708e90267e619543de5a16d4e9ebb7..d74dbead9c46359ace6662138ec78f5bce27b360 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-09-04  Petur Runolfsson  <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +37,7 @@ void test13()
   bool test __attribute__((unused)) = true;
   const char* name = "tmp_13";
 
-  locale loc(__gnu_test::try_named_locale("se_NO.UTF-8"));
+  locale loc(locale("se_NO.UTF-8"));
   locale::global(loc);
   std::ios_base::sync_with_stdio(false);
   wcin.imbue(loc);
index 6d41e9b5e5e1d3f1691c289711cd00e6ff710c52..2e851d310136019f88904b06f62350d7fe23c9c2 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2003-04-30  Petur Runolfsson <peturr02@ru.is>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,7 +36,7 @@ void test01()
     putc(static_cast<unsigned char>(i), file);
   fclose(file);
 
-  locale loc (__gnu_test::try_named_locale("de_DE.ISO-8859-15@euro"));
+  locale loc (locale("de_DE.ISO-8859-15@euro"));
   locale::global(loc); // Set locale for stdin
 
   freopen(name, "r", stdin);
index 158287faaa84f54b6a91360d761627a81c74e1f6..d174827bdc5858c42a1b4f3a245742107cf48bee 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (C) 2004 Free Software Foundation
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -28,7 +30,7 @@ void test01()
 
   const char* name = "tmp_12077";
 
-  locale loc = __gnu_test::try_named_locale("is_IS.UTF-8");
+  locale loc = locale("is_IS.UTF-8");
   locale::global(loc);
   wcin.imbue(loc);
 
index 06001cb7514f9c4d7f53b320492b06e7de5ea9a8..c8eb5428179b7a85f4dc2d0281e222a327e773a0 100644 (file)
@@ -1,6 +1,6 @@
 # Handlers for additional dg-xxx keywords in tests.
 
-# Copyright (C) 2004 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -27,3 +27,11 @@ proc dg-require-iconv { args } {
     return
 }
 
+proc dg-require-namedlocale { args } {
+    if { ![ check_v3_target_namedlocale ] } {
+       upvar dg-do-what dg-do-what
+       set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
+       return
+    }
+    return
+}
index 60624df260349eaff69ab94536dd3f73a8f56be9..2dbf8217938f12f7da711434d5fd47b0d367e22a 100644 (file)
@@ -1,6 +1,6 @@
 # libstdc++ "tool init file" for DejaGNU
 
-# Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -342,3 +342,91 @@ proc v3-build_support {} {
        append v3-test_objs "$object_file "
     }
 }
+
+proc check_v3_target_namedlocale { } {
+    global et_namedlocale_saved
+    global et_namedlocale_target_name
+    global tool        
+
+    if { ![info exists et_namedlocale_target_name] } {
+       set et_namedlocale_target_name ""
+    }
+
+    # If the target has changed since we set the cached value, clear it.
+    set current_target [current_target_name]
+    if { $current_target != $et_namedlocale_target_name } {
+       verbose "check_v3_target_namedlocale: `$et_namedlocale_target_name'" 2
+       set et_namedlocale_target_name $current_target
+       if [info exists et_namedlocale_saved] {
+           verbose "check_v3_target_namedlocale: removing cached result" 2
+           unset et_namedlocale_saved
+       }
+    }
+
+    if [info exists et_namedlocale_saved] {
+       verbose "check_v3_target_namedlocale: using cached result" 2
+    } else {
+       set et_namedlocale_saved 0
+
+       # Set up, compile, and execute a C++ test program that tries to use
+       # all the required named locales.
+       set src nlocale[pid].cc
+       set exe nlocale[pid].x
+
+       set f [open $src "w"]
+       puts $f "#include <locale>"
+       puts $f "using namespace std;"  
+       puts $f "int main ()"
+       puts $f "{"
+       puts $f "  try" 
+       puts $f "  {" 
+       puts $f "     locale(\"\");"
+       puts $f "     locale(\"de_DE\");"
+       puts $f "     locale(\"de_DE.ISO-8859-15@euro\");"
+       puts $f "     locale(\"de_DE@euro\");"
+       puts $f "     locale(\"en_HK\");"
+       puts $f "     locale(\"en_PH\");"
+       puts $f "     locale(\"en_US\");"
+       puts $f "     locale(\"en_US.ISO-8859-1\");"
+       puts $f "     locale(\"en_US.ISO-8859-15\");"
+       puts $f "     locale(\"en_US.UTF-8\");"
+       puts $f "     locale(\"es_ES\");"
+       puts $f "     locale(\"es_MX\");"
+       puts $f "     locale(\"fr_FR\");"
+       puts $f "     locale(\"fr_FR@euro\");"
+       puts $f "     locale(\"is_IS\");"
+       puts $f "     locale(\"is_IS.UTF-8\");"
+       puts $f "     locale(\"it_IT\");"
+       puts $f "     locale(\"ja_JP.eucjp\");"
+       puts $f "     locale(\"se_NO.UTF-8\");"
+       puts $f "     locale(\"ta_IN\");"
+       puts $f "     locale(\"zh_TW\");"
+       puts $f "     return 0;"
+       puts $f "  }"
+       puts $f "  catch(...)"
+       puts $f "  {"
+       puts $f "     return 1;"
+       puts $f "  }"   
+       puts $f "}"
+       close $f
+
+       set lines [v3_target_compile $src $exe executable ""]
+       file delete $src
+
+       if [string match "" $lines] {
+           # No error message, compilation succeeded.
+           set result [${tool}_load "./$exe" "" ""]
+           set status [lindex $result 0]
+           remote_file build delete $exe
+
+           verbose "check_v3_target_namedlocale: status is <$status>" 2
+
+           if { $status == "pass" } {
+               set et_namedlocale_saved 1
+           }
+       } else {
+           verbose "check_v3_target_namedlocale: compilation failed" 2
+       }
+    }
+    return $et_namedlocale_saved
+}
index a5f1b26e8ccb1a4f6a8fff9a3a899b933f238c96..8fa999f95cab69a875db9c488ffc494f3a4ede03 100644 (file)
@@ -162,7 +162,7 @@ namespace __gnu_test
     bool test = true;
     
     // Set the global locale. 
-    locale loc_name = try_named_locale(name);
+    locale loc_name = locale(name);
     locale orig = locale::global(loc_name);
 
     const char* res = setlocale(LC_ALL, name);
@@ -192,7 +192,7 @@ namespace __gnu_test
     
 #ifdef _GLIBCXX_HAVE_SETENV 
     // Set the global locale. 
-    locale loc_name = try_named_locale(name);
+    locale loc_name = locale(name);
     locale orig = locale::global(loc_name);
 
     // Set environment variable env to value in name. 
@@ -214,25 +214,6 @@ namespace __gnu_test
 #endif
   }
 
-  std::locale 
-  try_named_locale(const char* name)
-  {
-    try
-      {
-       return std::locale(name);
-      }
-#ifdef __EXCEPTIONS
-    catch (std::runtime_error& ex)
-      {
-       // Thrown by generic and gnu implemenation if named locale fails.
-       if (std::strstr(ex.what(), "name not valid"))
-         exit(0);
-       else
-         throw;
-      }
-#endif
-  }
-
   counter::size_type  counter::count = 0;
   unsigned int copy_constructor::count_ = 0;
   unsigned int copy_constructor::throw_on_ = 0;
index 8b8222316e631fb698862720f053c06920418ccd..90104d36523b168e677b4db1215f30c0b28a107e 100644 (file)
@@ -160,11 +160,6 @@ namespace __gnu_test
   void 
   run_tests_wrapped_env(const char*, const char*, const func_callback&);
 
-  // Try to create a locale with the given name. If it fails, bail.
-  std::locale
-  try_named_locale(const char* name);
-
-
   // Counting.
   struct counter
   {