619b56bce2
151 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
François Dumont
|
619b56bce2 |
libstdc++.exp, ([check_v3_target_namedlocale]): Clean temporary source file once compiled.
2010-09-15 François Dumont <francois.cppdevs@free.fr> * testsuite/lib/libstdc++.exp,([check_v3_target_namedlocale]): Clean temporary source file once compiled. From-SVN: r164316 |
||
Paolo Carlini
|
9c69a45888 |
[multiple changes]
2010-09-15 Paolo Carlini <paolo.carlini@oracle.com> * doc/xml/manual/prerequisites.xml: Update "C" library locale information prerequisites. 2010-09-15 François Dumont <francois.cppdevs@free.fr> * testsuite/lib/libstdc++.exp, dg-options.exp ([check_v3_target_namedlocale]): Take the name of the required locale. * testsuite/27_io/objects/wchar_t/9520.cc, 11.cc, 13.cc, 10.cc, 12.cc: Specify locale name to check. * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc, 13007-1.cc, 13007-2.cc: Likewise. * testsuite/27_io/basic_streambuf/imbue/char/9322.cc, 13007-1.cc, 13007-2.cc: Likewise. * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise. * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc, 2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc, 9322.cc, 13582-2.cc, 2.cc, 13582-3.cc, 12868.cc, 14975-2.cc, 13007.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc, 13171-4.cc, 9322.cc, 13582-2.cc, 2.cc, 14975-1.cc, 13007.cc, 13171-1.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc, 11305-2.cc, 11305-3.cc, 11305-4.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc, 1.cc, 2.cc, 3.cc, 11389-1.cc, 4.cc, 11389-2.cc, 5.cc, 11389-3.cc, 11389-4.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc: Likewise. * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise. * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc: Likewise. * testsuite/27_io/manipulators/extended/get_money/char/1.cc: Likewise. * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise. * testsuite/22_locale/money_put/put/wchar_t/1.cc, 2.cc, 3.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/money_put/put/char/1.cc, 2.cc, 3.cc, 9780-3.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/facet/2.cc: Likewise. * testsuite/22_locale/collate/hash/wchar_t/2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/collate/hash/char/2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/collate/compare/wchar_t/1.cc, 2.cc, 3.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/collate/compare/char/1.cc, 2.cc, 3.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/collate/transform/wchar_t/2.cc, 3.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/collate/transform/char/2.cc, 3.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/ctype/to/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/ctype/widen/wchar_t/2.cc, 3.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/ctype/narrow/wchar_t/3.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/ctype/is/wchar_t/2.cc,wrapped_locale.cc, wrapped_env.cc: Likewise * testsuite/22_locale/ctype/is/char/2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/2.cc, 3.cc, 4.cc, 6.cc, 7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc: Likewise. * testsuite/22_locale/time_put/put/char/2.cc, 3.cc, 4.cc, 6.cc, 9780-1.cc, 7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc: Likewise. * testsuite/22_locale/money_get/get/wchar_t/1.cc, 2.cc, 3.cc, 4.cc, wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc, 13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise. * testsuite/22_locale/money_get/get/char/1.cc, 2.cc, 3.cc, 4.cc, wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc, 13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise * testsuite/22_locale/num_put/put/wchar_t/1.cc, 3.cc, 5.cc, wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise. * testsuite/22_locale/num_put/put/char/1.cc, 3.cc, 5.cc, 9780-2.cc, wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise. * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc, wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc, wrapped_env.cc: Likewise. testsuite/22_locale/codecvt/length/wchar_t/2.cc, wrapped_locale.cc, 3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc, wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc, wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/in/wchar_t/2.cc, wrapped_locale.cc, 3.cc, 4.cc, 7.cc, 8.cc, 9.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc, wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/out/wchar_t/2.cc, wrapped_locale.cc, 3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise. * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_get/get_monthname/char/2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_get/get_weekday/char/2.cc, 38081-1.cc, wrapped_locale.cc, 38081-2.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc, 26701.cc, 2.cc, wrapped_locale.cc, 4.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_get/get_date/char/12750.cc, 26701.cc, 2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_get/get_time/wchar_t/1.cc, 2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/time_get/get_time/char/1.cc, 2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/1.cc, 3.cc, 5.cc, 6.cc, 9.cc, wrapped_env.cc, wrapped_locale.cc: Likewise. * testsuite/22_locale/num_get/get/char/1.cc, 3.cc, 5.cc, 6.cc, 9.cc, wrapped_env.cc, wrapped_locale.cc: Likewise. * testsuite/22_locale/locale/cons/38368.cc, 2.cc, 4.cc, 5.cc, 7.cc, 12658_thread-1.cc, 12658_thread-2.cc, 40184.cc, 29217.cc, 38365.cc: Likewise. * testsuite/22_locale/locale/global_locale_objects/14071.cc, 2.cc: Likewise. * testsuite/22_locale/moneypunct/40712.cc: Likewise. * testsuite/22_locale/moneypunct/members/wchar_t/2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/moneypunct/members/char/2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise. * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise. * testsuite/22_locale/messages/members/char/1.cc, 2.cc, wrapped_locale.cc, 3.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/numpunct/members/wchar_t/2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/numpunct/members/char/2.cc, wrapped_locale.cc, 3.cc, wrapped_env.cc: Likewise. * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise. From-SVN: r164300 |
||
François Dumont
|
d78301422a |
libstdc++.exp ([check_v3_target_debug_mode]): Fix so that it really detects when debug mode is activated.
2010-09-03 François Dumont <francois.cppdevs@free.fr> * testsuite/lib/libstdc++.exp ([check_v3_target_debug_mode]): Fix so that it really detects when debug mode is activated. * testsuite/util/debug/construct_neg.h, insert_neg.h, assign_neg.h: Remove, content moved... * testsuite/util/debug/checks.h: ... here. Modify checks to take the type of the container to test rather than an intermediate container type traits helper. * testsuite/23_containers/unordered_map/debug/insert1_neg.cc: Update to use dg-require-debug-mode when necessary and use new check functions. * testsuite/23_containers/unordered_map/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/unordered_map/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/unordered_map/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/unordered_map/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/unordered_map/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/unordered_map/debug/construct4_neg.cc: Likewise. * testsuite/23_containers/unordered_map/debug/insert4_neg.cc: Likewise. * testsuite/23_containers/multimap/debug/insert1_neg.cc: Likewise. * testsuite/23_containers/multimap/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/multimap/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/multimap/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/multimap/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/multimap/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/multimap/debug/construct4_neg.cc: Likewise. * testsuite/23_containers/multimap/debug/insert4_neg.cc: Likewise. * testsuite/23_containers/set/debug/insert1_neg.cc: Likewise. * testsuite/23_containers/set/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/set/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/set/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/set/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/set/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/set/debug/construct4_neg.cc: Likewise. * testsuite/23_containers/set/debug/insert4_neg.cc: Likewise. * testsuite/23_containers/unordered_multimap/debug/insert1_neg.cc: Likewise. * testsuite/23_containers/unordered_multimap/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/unordered_multimap/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/unordered_multimap/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/unordered_multimap/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/unordered_multimap/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/unordered_multimap/debug/construct4_neg.cc: Likewise. * testsuite/23_containers/unordered_multimap/debug/insert4_neg.cc: Likewise. * testsuite/23_containers/vector/debug/assign1_neg.cc: Likewise. * testsuite/23_containers/vector/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/vector/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/vector/debug/assign2_neg.cc: Likewise. * testsuite/23_containers/vector/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/vector/debug/assign3_neg.cc: Likewise. * testsuite/23_containers/vector/debug/construct4_neg.cc: Likewise. * testsuite/23_containers/vector/debug/assign4_neg.cc: Likewise. * testsuite/23_containers/vector/debug/insert1_neg.cc: Likewise. * testsuite/23_containers/vector/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/vector/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/vector/debug/insert4_neg.cc: Likewise. * testsuite/23_containers/unordered_set/debug/insert1_neg.cc: Likewise. * testsuite/23_containers/unordered_set/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/unordered_set/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/unordered_set/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/unordered_set/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/unordered_set/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/unordered_set/debug/construct4_neg.cc: Likewise. * testsuite/23_containers/unordered_set/debug/insert4_neg.cc: Likewise. * testsuite/23_containers/deque/debug/assign1_neg.cc: Likewise. * testsuite/23_containers/deque/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/deque/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/deque/debug/assign2_neg.cc: Likewise. * testsuite/23_containers/deque/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/deque/debug/assign3_neg.cc: Likewise. * testsuite/23_containers/deque/debug/construct4_neg.cc: Likewise. * testsuite/23_containers/deque/debug/assign4_neg.cc: Likewise. * testsuite/23_containers/deque/debug/insert1_neg.cc: Likewise. * testsuite/23_containers/deque/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/deque/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/deque/debug/insert4_neg.cc: Likewise. * testsuite/23_containers/multiset/debug/insert1_neg.cc: Likewise. * testsuite/23_containers/multiset/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/multiset/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/multiset/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/multiset/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/multiset/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/multiset/debug/construct4_neg.cc: Likewise. * testsuite/23_containers/multiset/debug/insert4_neg.cc: Likewise. * testsuite/23_containers/list/debug/assign1_neg.cc: Likewise. * testsuite/23_containers/list/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/list/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/list/debug/assign2_neg.cc: Likewise. * testsuite/23_containers/list/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/list/debug/assign3_neg.cc: Likewise. * testsuite/23_containers/list/debug/construct4_neg.cc: Likewise. * testsuite/23_containers/list/debug/assign4_neg.cc: Likewise. * testsuite/23_containers/list/debug/insert1_neg.cc: Likewise. * testsuite/23_containers/list/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/list/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/list/debug/insert4_neg.cc: Likewise. * testsuite/23_containers/unordered_multiset/debug/insert1_neg.cc: Likewise. * testsuite/23_containers/unordered_multiset/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/unordered_multiset/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/unordered_multiset/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/unordered_multiset/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/unordered_multiset/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/unordered_multiset/debug/construct4_neg.cc: Likewise. * testsuite/23_containers/unordered_multiset/debug/insert4_neg.cc: Likewise. * testsuite/23_containers/map/debug/insert1_neg.cc: Likewise. * testsuite/23_containers/map/debug/construct1_neg.cc: Likewise. * testsuite/23_containers/map/debug/construct2_neg.cc: Likewise. * testsuite/23_containers/map/debug/insert2_neg.cc: Likewise. * testsuite/23_containers/map/debug/construct3_neg.cc: Likewise. * testsuite/23_containers/map/debug/insert3_neg.cc: Likewise. * testsuite/23_containers/map/debug/construct4_neg.cc: Likewise. * testsuite/23_containers/map/debug/insert4_neg.cc: Likewise. * testsuite/23_containers/unordered_map/debug/cont_traits.h: Remove. * testsuite/23_containers/unordered_map/debug/debug_cont_traits.h: Likewise. * testsuite/23_containers/multimap/debug/cont_traits.h: Likewise. * testsuite/23_containers/multimap/debug/debug_cont_traits.h: Likewise. * testsuite/23_containers/set/debug/cont_traits.h: Likewise. * testsuite/23_containers/set/debug/debug_cont_traits.h: Likewise. * testsuite/23_containers/unordered_multimap/debug/cont_traits.h: Likewise. * testsuite/23_containers/unordered_multimap/debug/ debug_cont_traits.h: Likewise. * testsuite/23_containers/vector/debug/cont_traits.h: Likewise. * testsuite/23_containers/vector/debug/debug_cont_traits.h: Likewise. * testsuite/23_containers/unordered_set/debug/cont_traits.h: Likewise. * testsuite/23_containers/unordered_set/debug/debug_cont_traits.h: Likewise. * testsuite/23_containers/deque/debug/cont_traits.h: Likewise. * testsuite/23_containers/deque/debug/debug_cont_traits.h: Likewise. * testsuite/23_containers/multiset/debug/cont_traits.h: Likewise. * testsuite/23_containers/multiset/debug/debug_cont_traits.h: Likewise. * testsuite/23_containers/list/debug/cont_traits.h: Likewise. * testsuite/23_containers/list/debug/debug_cont_traits.h: Likewise. * testsuite/23_containers/unordered_multiset/debug/cont_traits.h: Likewise. * testsuite/23_containers/unordered_multiset/debug/ debug_cont_traits.h: Likewise. * testsuite/23_containers/map/debug/cont_traits.h: Likewise. * testsuite/23_containers/map/debug/debug_cont_traits.h: Likewise. * testsuite/21_strings/basic_string/element_access/char: Tidy. * testsuite/21_strings/basic_string/element_access/wchar_t: Likewise. From-SVN: r163837 |
||
Jason Merrill
|
a40cc81fff |
libstdc++.exp: Set additional_prunes.
* testsuite/lib/libstdc++.exp: Set additional_prunes. (libstdc++-dg-test): Don't prune here. * testsuite/lib/prune.exp (dg-prune-output): New. (libstdc++-dg-prune): Rename from prune_g++_output. Add a bunch of prunes from gcc's prune.exp. From-SVN: r160812 |
||
Janis Johnson
|
bd9b2e5379 |
re PR libstdc++/21769 (per-file control over PCH inclusion)
2010-01-20 Janis Johnson <janis187@us.ibm.com> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/21769 * testsuite/lib/dg-options.exp (add_options_for_no_pch): Add. * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: Use it. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r156075 |
||
Paolo Carlini
|
2e8e6a99ee |
re PR libstdc++/26701 (std::time_get parses only 2 digits of year, in en_GB locale.)
2010-01-06 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/26701 * include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num): Encode short two digits over four parsings to negative numbers. (time_get<>::_M_extract_via_format): Adjust, accept both two digits and four digits for both 'y' and 'Y'. (time_get<>::do_get_year): Call time_get<>::_M_extract_num. * doc/xml/manual/prerequisites.xml: Add en_GB. * testsuite/lib/libstdc++.exp: Adjust * testsuite/22_locale/time_get/get_date/char/26701.cc: New. * testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise. From-SVN: r155685 |
||
Paolo Carlini
|
ac2bb43770 |
re PR libstdc++/38081 (time_get<>::do_get_weekday does not always recognize full names of weekdays)
2010-01-05 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/38081 * include/bits/locale_facets_nonio.h (time_get<>:: _M_extract_wday_or_month): New, declare. * include/bits/locale_facets_nonio.tcc (time_get<>:: _M_extract_wday_or_month): Define. (time_get<>::do_get_weekday, time_get<>::do_get_monthname): Use it. * config/abi/pre/gnu.ver: Export new symbols. * doc/xml/manual/prerequisites.xml: Add ru_RU.UTF-8 and ru_RU.ISO-8859-5. * testsuite/lib/libstdc++.exp: Adjust. * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: New. * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise. From-SVN: r155659 |
||
Iain Sandoe
|
1d32a77299 |
re PR target/41605 (Static linking of libgcc/libgfortran/libstdc++ can cause inconsistent symbol resolution.)
2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> gcc/ PR target/41605 * lib/g++.exp: Provide -B options to allow for link spec %s substitutions for static libraries. libstdc++-v3/ PR target/41605 * testsuite/libstdc++-abi/abi.exp: Provide -B options to allow for link spec %s substitutions for static libraries. * testsuite/lib/libstdc++.exp: Ditto libgomp/ PR target/41605 * testsuite/lib/libgomp.exp: Provide -B options to allow for link spec %s substitutions for static libraries. From-SVN: r155408 |
||
Dave Korn
|
14c4d1271e |
libstdc++.exp (libstdc++_init): Add host-dependent settings for LC_ALL and LANG.
2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com> * testsuite/lib/libstdc++.exp (libstdc++_init): Add host-dependent settings for LC_ALL and LANG. From-SVN: r154856 |
||
Paolo Carlini
|
fe03b3df84 |
[multiple changes]
2009-10-05 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/lib/libstdc++.exp (check_v3_target_rvalref): Remove. * testsuite/lib/dg-options.exp (dg-require-rvalref): Likewise. 2009-10-05 Chris Jefferson <chris@bubblescope.net> * include/bits/stl_algo.h (__stable_partition_adaptive, __rotate_adaptive, __merge_adaptive, __merge_sort_loop): Extend to work with rvalue references in C++0x mode. * testsuite/25_algorithms/inplace_merge/moveable2.cc: New. * testsuite/25_algorithms/inplace_merge/moveable.cc: Likewise. * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise. * testsuite/25_algorithms/stable_sort/moveable2.cc: Likewise. * testsuite/25_algorithms/stable_sort/moveable.cc: Likewise. From-SVN: r152451 |
||
Joseph Myers
|
f16fd827c3 |
libstdc++.exp (check_v3_target_binary_io): New.
* testsuite/lib/libstdc++.exp (check_v3_target_binary_io): New. * testsuite/lib/dg-options.exp (dg-require-binary-io): New. * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc, testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc, testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc, testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc, testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc, testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc, testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc, testsuite/27_io/basic_istream/readsome/char/6746-2.cc, testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc, testsuite/27_io/objects/char/10.cc: Use dg-require-binary-io. From-SVN: r151825 |
||
Joseph Myers
|
ea9549ff10 |
libstdc++.exp (libstdc++_init): Copy .tcc files under util/ to remote host.
* testsuite/lib/libstdc++.exp (libstdc++_init): Copy .tcc files under util/ to remote host. Copy .h and .hpp files at more levels under util/ to remote host. From-SVN: r151336 |
||
Joseph Myers
|
2e0814c8d6 |
cwchar (swprintf, vswprintf): Do not use if _GLIBCXX_HAVE_BROKEN_VSWPRINTF.
* include/c_global/cwchar (swprintf, vswprintf): Do not use if _GLIBCXX_HAVE_BROKEN_VSWPRINTF. * testsuite/lib/libstdc++.exp (check_v3_target_swprintf): New. * testsuite/lib/dg-options.exp (dg-require-swprintf): New. * testsuite/21_strings/headers/cwchar/functions_std.cc, testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc, testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc: Use dg-require-swprintf. From-SVN: r150063 |
||
Richard Sandiford
|
33cde5161f |
re PR testsuite/40699 (All sparcv9 libjava execution tests fail on Solaris 11/SPARC)
gcc/testsuite/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * lib/gcc-defs.exp, lib/target-libpath.exp, lib/objc.exp, lib/gfortran.exp, lib/g++.exp, lib/obj-c++.exp, lib/c-torture.exp, lib/gcc-dg.exp, lib/gnat.exp, g++.dg/compat/compat.exp, g++.dg/compat/struct-layout-1.exp: Revert 2009-06-30 commit. libstdc++-v3/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * testsuite/lib/libstdc++.exp: Revert 2009-06-30 commit. libjava/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * testsuite/lib/libjava.exp: Revert 2009-06-30 commit. libgomp/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * testsuite/lib/libgomp.exp: Revert 2009-07-02 and 2009-06-30 commits. * testsuite/libgomp.c/c.exp, testsuite/libgomp.c++/c++.exp, testsuite/libgomp.fortran/fortran.exp: Revert 2009-06-30 commits. libffi/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * testsuite/lib/libffi-dg.exp: Revert 2009-07-02, 2009-07-01 and 2009-06-30 commits. libmudflap/ PR testsuite/40699 PR testsuite/40707 PR testsuite/40709 * testsuite/lib/libmudflap.exp: Revert 2009-06-30 commit. From-SVN: r149508 |
||
Richard Sandiford
|
b30bfd402f |
gcc-defs.exp (gcc-set-multilib-library-path): Delete.
gcc/testsuite/ * lib/gcc-defs.exp (gcc-set-multilib-library-path): Delete. * lib/target-libpath.exp (ld_library_path_vars): New variable. (init_ld_library_path_env_vars): New function, replacing the orig_*_saved assignments. Call it after defining it. (set_ld_library_path_env_vars): Rewrite to use ld_library_path_vars. (restore_ld_library_path_env_vars): Likewise. (add_path, find_libgcc_s): New functions. * lib/objc.exp (objc_init): Use find_libgcc_s instead of gcc-set-multilib-library-path. (objc_target_compile): Don't add "." to ld_library_path. Use add_path. * lib/gfortran.exp (gfortran_link_flags): Don't add "." to ld_library_path. Use add_path. Use find_libgcc_s instead of gcc-set-multilib-library-path. * lib/g++.exp (g++_link_flags): Likewise. * lib/obj-c++.exp (obj-c++_link_flags): Likewise. * lib/c-torture.exp: Do not manipulate ld_library_path at the top level; do it... (c-torture-execute): ...here instead. Use $ld_library_path_multilib to tell when this needs to happen. Use find_libgcc_s instead of gcc-set-multilib-library-path. * lib/gcc-dg.exp: Likewise. * lib/gnat.exp (gnat_target_compile): Don't add "." to ld_library_path. * g++.dg/compat/compat.exp (alt_ld_library_path): Don't add "." unless it is in $ALT_LD_LIBRARY_PATH. * g++.dg/compat/struct-layout-1.exp (alt_ld_library_path): Likewise. libffi/ * testsuite/lib/libffi-dg.exp (libffi-init): Don't add "." to ld_library_path. Use add_path. Add just find_libgcc_s to ld_library_path, not every libgcc multilib directory. libgomp/ * testsuite/lib/libgomp.exp (libgomp_init): Don't add "." to ld_library_path. Use add_path. Add just find_libgcc_s to ld_library_path, not every libgcc multilib directory. * testsuite/libgomp.c/c.exp (ld_library_path): Don't call gcc-set-multilib-library-path; rely on $always_ld_library_path instead. * testsuite/libgomp.c++/c++.exp (ld_library_path): Likewise. Use add_path. * testsuite/libgomp.fortran/fortran.exp (ld_library_path): Likewise. libjava/ * testsuite/lib/libjava.exp (libjava_init): Just add find_libgcc_s to libjava_libgcc_s_path, rather than every libgcc multilib directory. (libjava_arguments): Explain why we add "." to ld_library_path. (gcj_invoke, exec_gij, libjava_invoke): Use add_path. libmudflap/ * testsuite/lib/libmudflap.exp (libmudflap-init): Don't add "." to ld_library_path. Use add_path. Add just find_libgcc_s to ld_library_path, not every libgcc multilib directory. libstdc++-v3/ * testsuite/lib/libstdc++.exp (libstdc++_init): Don't add "." to ld_library_path. Use add_path. Add just find_libgcc_s to ld_library_path, not every libgcc multilib directory. From-SVN: r149113 |
||
David Billinghurst
|
602feda58d |
re PR libstdc++/36211 (__iconv_adaptor chooses char** where const char** is required)
2009-05-15 David Billinghurst <billingd@gcc.gnu.org> PR libstdc++/36211 * testsuite/lib/libstdc++.exp(v3_target_compile): Add cxxldflags to additional_flags rather than cxx_final. From-SVN: r147565 |
||
Jakub Jelinek
|
748086b7b2 |
Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.
From-SVN: r145841 |
||
Chris Fairles
|
959d14e166 |
acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME], [...]): Remove.
2009-01-15 Chris Fairles <cfairles@gcc.gnu.org> Paolo Carlini <paolo.carlini@oracle.com> * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME], [GLIBCXX_CHECK_NANOSLEEP]): Remove. ([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add. * configure.ac: Adjust. * doc/xml/manual/configure.xml: Update. * testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add. * testsuite/lib/dg-options.exp (dg-require-sched-yield): Add. * testsuite/30_threads/thread/this_thread/2.cc: Use the latter. * configure: Regenerate. * config.h.in: Likewise. * src/thread.cc (thread::thread(), thread::~thread, thread::get_id, thread::joinable, thread::swap, this_thread::get_id, this_thread::yield): Define inline... * include/std/thread: ... here. * config/abi/pre/gnu.ver: Adjust. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r143397 |
||
Janis Johnson
|
d4038ca243 |
re PR testsuite/28870 (configuring, over-riding timeout values in testsuite)
gcc/ PR testsuite/28870 * doc/sourcebuild.texi (Test Directives): Add dg-timeout and dg-timeout-factor. gcc/testsuite/ PR testsuite/28870 * lib/timeout.exp: New. * lib/timeout-dg.exp: New. * lib/gcc-dg.exp: Include new timeout library files. (dg-test): Unset timeout variables. * lib/gcc.exp (gcc_target_compile): Set timeout value from new proc. * lib/g++.exp (g++_target_compile): Ditto. * lib/gfortran.exp (gfortran_target_compile): Ditto. * lib/objc.exp (objc_target_compile): Ditto. * lib/obj-c++.exp (obj-c++_target_compile): Ditto. * lib/obj-c++.exp (obj-c++_target_compile): Ditto. * lib/gnat.exp (gnat_target_compile): Ditto. libstdc++-v3/ PR testsuite/28870 * testsuite/lib/libstdc++.exp: Include new timeout library files. (libstdc++_init): Define tool_timeout. (dg-test): Override DejaGnu proc. (v3_target_compile): Set timeout value from new proc. (v3_target_compile_as_c): Ditto. libmudflap/ PR testsuite/28870 * testsuite/lib/mfdg.exp (dg-test): Use new timeout support. (dg-timeout): Remove. (standard-wait): Remove. * testsuite/lib/libmudflap.exp: Include new timeout library files. (libmudflap_target_compile): Set timeout value from new proc. libgomp/ PR testsuite/28870 * testsuite/lib/libgomp.exp: Include new timeout library files. (libgomp_target_compile): Set timeout value from new proc. From-SVN: r142225 |
||
Paolo Carlini
|
83b83ae97a |
re PR libstdc++/37522 (Incorrect vswprintf prototype breaks __to_xstring)
2008-10-27 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/37522 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF * include/bits/basic_string.h: Guard string conversions with !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too. * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions): New. * testsuite/lib/dg-options.exp (dg-require-string-conversions): New. * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc: Use the latter. * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc: Likewise. * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc: Likewise. * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc: Likewise. * testsuite/21_strings/basic_string/numeric_conversions/char/ stoull.cc: Likewise. * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc: Likewise. * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc: Likewise. * testsuite/21_strings/basic_string/numeric_conversions/char/ to_string.cc: Likewise. * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc: Likewise. From-SVN: r141382 |
||
Chris Fairles
|
46e113bf2b |
thread: New.
2008-09-12 Chris Fairles <chris.fairles@gmail.com> Benjamin Kosnik <bkoz@redhat.com> * include/std/thread: New. * include/Makefile.am: Update. * include/Makefile.in: Regenerate. * src/thread.cc: New. * src/Makefile.am: Update. * src/Makefile.in: Regenerate. * acinclude.m4: Add check for nanosleep. * configure.ac: Call it. * configure: Regenerate. * config.h.in: Likewise. * config/abi/pre/gnu.ver: Add exports. * doc/doxygen/user.cfg.in: Add thread header. * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add. * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add. * testsuite/30_threads/thread/cons/1.cc: New. * testsuite/30_threads/thread/cons/2.cc: Likewise. * testsuite/30_threads/thread/cons/3.cc: Likewise. * testsuite/30_threads/thread/cons/4.cc: Likewise. * testsuite/30_threads/thread/algorithm/1.cc: Likewise. * testsuite/30_threads/thread/algorithm/2.cc: Likewise. * testsuite/30_threads/thread/member/1.cc: Likewise. * testsuite/30_threads/thread/member/2.cc: Likewise. * testsuite/30_threads/thread/member/3.cc: Likewise. * testsuite/30_threads/thread/this_thread/1.cc: Likewise. * testsuite/30_threads/thread/this_thread/2.cc: Likewise. * testsuite/30_threads/thread/this_thread/3.cc: Likewise. * testsuite/30_threads/thread/this_thread/4.cc: Likewise. * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise. * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise. * testsuite/17_intro/headers/c++200x/all.cc: Add thread. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add thread, condition_variable and mutex. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r140332 |
||
Chris Fairles
|
7b800287b7 |
condition_variable: Use new deleted ctors.
2008-09-03 Chris Fairles <chris.fairles@gmail.com> * include/std/condition_variable: Use new deleted ctors. * include/std/mutex: Likewise plus implement timed_mutex, recursive_timed_mutex and call_once. * src/condition_variable.cc: Implement wait(). Use gthread types. Remove _GTHREADS_HAS_COND checks in favor of global _GLIBCXX_HAS_GTHREADS. * src/mutex.cc (call_once): Implementation using TLS with mutex fallback. * config/abi/pre/gnu.ver: Add exported symbols. * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New. * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise. * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use dg-require-gthreads and dg-require-cstdint. * testsuite/30_threads/lock_guard/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/mutex/cons/1.cc: Likewise. * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/mutex/lock/1.cc: Likewise. * testsuite/30_threads/mutex/unlock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/unique_lock/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise. * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error lines for deleted members. * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/call_once/once_flag.cc: New. * testsuite/30_threads/call_once/call_once1.cc: Likewise. * testsuite/30_threads/condition_variable/cons/1.cc: Likewise. * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc: Likewise. * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise. * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise. * testsuite/30_threads/unique_lock/cons/1.cc: Likewise. * testsuite/30_threads/unique_lock/cons/2.cc: Likewise. * testsuite/30_threads/unique_lock/cons/3.cc: Likewise. * testsuite/30_threads/unique_lock/cons/4.cc: Likewise. * testsuite/30_threads/unique_lock/cons/5.cc: Likewise. * testsuite/30_threads/unique_lock/cons/6.cc: Likewise. * testsuite/30_threads/unique_lock/locking/1.cc: Likewise. * testsuite/30_threads/unique_lock/locking/2.cc: Likewise. * testsuite/30_threads/unique_lock/locking/3.cc: Likewise. * testsuite/30_threads/unique_lock/locking/4.cc: Likewise. From-SVN: r139943 |
||
Paolo Carlini
|
30a333ceeb |
[multiple changes]
2008-08-23 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add. * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise. * testsuite/18_support/exception_ptr/current_exception.cc: Use it. * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise. * testsuite/18_support/exception_ptr/lifespan.cc: Likewise. 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at> Add (again) exception propagation support as per N2179. Feature is available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined. * libsupc++/exception_ptr.h (exception_ptr, current_exception, copy_exception, rethrow_exception): New file, implement exception propagation. * libsupc++/eh_ptr.cc (exception_ptr, current_exception, rethrow_exception, __gxx_dependent_exception_cleanup): Likewise. * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count. (__cxa_dependent_exception, __cxa_allocate_dependent_exception, __cxa_free_dependent_exception, __get_dependent_exception_from_ue, __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception, __gxx_dependent_exception_class, __get_object_from_ue, __get_object_from_ambiguous_exception): Add. (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename. (__is_gxx_exception_class): Handle dependent exceptions. * libsupc++/eh_arm.cc (__cxa_type_match): Likewise. * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise. * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise. * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise. * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception, __cxa_free_dependent_exception): Add. * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference counting. * libsupc++/exception: Conditionally include exception_ptr.h. * libsupc++/Makefile.am: Register new files. * libsupc++/Makefile.in: Regenerate. * config/abi/pre/gnu.ver: Add new symbols. * testsuite/18_support/exception_ptr/current_exception.cc: Test the core functionality of current_exception(). * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the core functionality of rethrow_exception(). * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of exception objects during exception propagation. From-SVN: r139509 |
||
Paolo Carlini
|
93cc82d1f3 |
libstdc++.exp (libstdc++_init): Set v3-libgomp.
2008-07-31 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp. (check_v3_target_parallel_mode): Robustify, just follow the structure of testsuite/Makefile.am. From-SVN: r138428 |
||
Paolo Carlini
|
f2752f1d6e |
utility: Include <initializer_list>, per the current WP.
2008-07-29 Paolo Carlini <paolo.carlini@oracle.com> * include/std/utility: Include <initializer_list>, per the current WP. * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak, don't use -std=gnu++0x unnecessarily. * testsuite/18_support/numeric_limits/char16_32_t.cc: Use dg-require-cstdint. * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise. * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise. From-SVN: r138255 |
||
Paolo Carlini
|
0d3f1ce4e9 |
libstdc++.exp (check_v3_target_c_std): Avoid unused variable warnings leading to spurious fails of the test.
2008-07-18 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused variable warnings leading to spurious fails of the test. From-SVN: r137961 |
||
Paolo Carlini
|
a7543cfdcd |
libstdc++.exp (check_v3_target_stdint): New.
2008-07-07 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New. * testsuite/lib/dg-options.exp (dg-require-cstdint): New. * testsuite/20_util/ratio/cons/cons1.cc: Use it. * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise. * testsuite/20_util/ratio/operations/ops1.cc: Likewise. * testsuite/20_util/ratio/operations/ops2.cc: Likewise. * testsuite/20_util/ratio/operations/ops3.cc: Likewise. * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise. * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise. * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise. * include/std/type_traits: Fix comment typo. From-SVN: r137612 |
||
Benjamin Kosnik
|
2e3f9c21d5 |
using.xml: Outline exception topics.
2008-06-06 Benjamin Kosnik <bkoz@redhat.com> * doc/xml/manual/using.xml: Outline exception topics. * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format. * include/ext/pb_ds/detail/left_child_next_sibling_heap_/ policy_access_fn_imps.hpp: Same. * include/ext/pb_ds/priority_queue.hpp: Same. * include/ext/throw_allocator.h: Same. * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag. (sequence_tag): New tag. Doxygen markup fixes. * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file. * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix comment typo, include paths, format. * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same. * testsuite/performance/ext/pb_ds/ hash_random_int_erase_mem_usage.cc: Same. * testsuite/performance/ext/pb_ds/ random_int_subscript_find_timing.cc: Same. * testsuite/performance/ext/pb_ds/ priority_queue_text_push_timing.cc: Same. * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same. * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same. * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp * testsuite/performance/ext/pb_ds/ priority_queue_random_int_push_timing.cc: Same. * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same. * testsuite/performance/ext/pb_ds/ priority_queue_text_push_pop_timing.cc: Same. * testsuite/performance/ext/pb_ds/ priority_queue_text_join_timing.cc: Same. * testsuite/performance/ext/pb_ds/ priority_queue_random_int_push_pop_timing.cc: Same. * testsuite/performance/ext/pb_ds/ random_int_subscript_insert_timing.cc: Same. * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same. * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp * testsuite/performance/ext/pb_ds/ priority_queue_text_pop_mem_usage.cc: Same. * testsuite/performance/ext/pb_ds/ hash_zlob_random_int_find_timing.cc: Same. * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same. * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same. * testsuite/util/regression/trait/priority_queue/trait.hpp: Same. * testsuite/util/regression/trait/erase_if_fn.hpp: Same. * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same. * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same. * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same. * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same. * testsuite/util/regression/trait/assoc/trait.hpp: Same. * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same. * testsuite/util/regression/trait/assoc/type_trait.hpp: Same. * testsuite/util/regression/trait/assoc/to_string.hpp: Same. * testsuite/util/regression/basic_type.hpp: Same. * testsuite/util/common_type/priority_queue/string_form.hpp: Same. * testsuite/util/common_type/priority_queue/detail/ ds_string_form.hpp: Same. * testsuite/util/common_type/assoc/string_form.hpp: Same. * testsuite/util/common_type/assoc/detail/ resize_policy_string_form.hpp: Same. * testsuite/util/common_type/assoc/detail/ trigger_policy_string_form.hpp: Same. * testsuite/util/common_type/assoc/detail/ comb_hash_fn_string_form.hpp: Same. * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same. * testsuite/util/common_type/assoc/detail/ size_policy_string_form.hpp: Same. * testsuite/util/common_type/assoc/detail/ probe_fn_string_form.hpp: Same. * testsuite/util/common_type/assoc/detail/ list_update_policy_string_form.hpp: Same. * testsuite/util/common_type/assoc/detail/ store_hash_string_form.hpp: Same. * testsuite/util/common_type/assoc/native_set.hpp: Same. * testsuite/util/io/prog_bar.cc: Same. * testsuite/util/regression/rand/io: Remove. * testsuite/util/regression/rand/io/priority_queue: Same. * testsuite/util/regression/rand/io/assoc: Same. * testsuite/util/regression/rand/io/priority_queue/ xml_formatter.hpp: Consolidate this... * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this * testsuite/util/regression/rand/xml_formatter.hpp: ...here. * testsuite/util/regression/rand/priority_queue/ container_rand_regression_test.hpp:To ... container_rand_regression_test.h: ... this. * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ... * testsuite/util/regression/rand/priority_queue/ container_rand_regression_test.tcc: ... this. PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate. PB_DS_SET_DESTRUCT_PRINT: Fold inline. PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline. * testsuite/util/regression/rand/priority_queue/ rand_regression_test.hpp: Adjust includes. * testsuite/util/regression/rand/assoc/ container_rand_regression_test.hpp: To ... * testsuite/util/regression/rand/assoc/ container_rand_regression_test.h: ... this. * testsuite/util/regression/rand/assoc/detail/*.hpp:To ... * testsuite/util/regression/rand/assoc/ container_rand_regression_test.tcc: ...this. * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust includes. * testsuite/util/regression/priority_queue: Remove. * testsuite/util/regression/assoc: Remove. * testsuite/util/regression/priority_queue/ common_type.hpp: Consolidate this... * testsuite/util/regression/assoc/common_type.hpp: ... and this * testsuite/util/regression/common_type.hpp: ...here. * testsuite/util/rng: Remove. * testsuite/util/rng/twister_rand_gen.cc: Consolidate... * testsuite/util/rng/twister_rand_gen.hpp: ... and this * testsuite/util/testsuite_rng.h: ...here. * testsuite/util/native_type/priority_queue: Remove. * testsuite/util/native_type/priority_queue/ native_priority_queue.hpp: To... * testsuite/util/native_type/native_priority_queue.hpp: ...here. * testsuite/util/native_type/assoc: Remove. * testsuite/util/native_type/assoc/native_multimap.hpp: To... * testsuite/util/native_type/assoc/native_tree_tag.hpp: To... * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To... * testsuite/util/native_type/assoc/native_set.hpp: To... * testsuite/util/native_type/assoc/native_map.hpp: To... * testsuite/util/native_type/assoc/native_hash_set.hpp: To... * testsuite/util/native_type/assoc/native_hash_tag.hpp: To... * testsuite/util/native_type/assoc/native_hash_map.hpp: To... * testsuite/util/native_type/native_multimap.hpp: ...here. * testsuite/util/native_type/native_tree_tag.hpp: ...here. * testsuite/util/native_type/native_hash_multimap.hpp: ...here. * testsuite/util/native_type/native_set.hpp: ...here. * testsuite/util/native_type/native_map.hpp: ...here. * testsuite/util/native_type/native_hash_set.hpp: ...here. * testsuite/util/native_type/native_hash_tag.hpp: ...here. * testsuite/util/native_type/native_hash_map.hpp: ...here. * testsuite/util/common_type/priority_queue/common_type.hpp: Make include guard distinct. From-SVN: r136497 |
||
Benjamin Kosnik
|
d466a7e21c |
[multiple changes]
2008-04-10 Benjamin Kosnik <bkoz@redhat.com> * include/c_global/cstdatomic: C++ types only, format, doxygen markup. * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup. * src/atomic.c: Format, doxygen markup, edits. * include/Makefile.am (cstdatomic, stdatomic.h): Add. * src/Makefile.am (atomic.c): Add. * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New. * configure.ac: Call it. * include/Makefile.in: Regenerate. * src/Makefile.in: Same. * Makefile.in: Same. * doc/Makefile.in: Same. * po/Makefile.in: Same. * libmath/Makefile.in: Same. * include/Makefile.in: Same. * testsuite/Makefile.in: Same. * libsupc++/Makefile.in: Same. * config.h.in: Same. * configure: Same. * config/abi/pre/gnu.ver: Add atomics exports. * include/ext/typelist.h (apply_generator): New. * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New. (_GLIBCXX_END_EXTERN_C): New. Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when compiling as C. * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L flag for libstdc++. * testsuite/util/testsuite_common_types.h (integral_types): New typelist. (atomics, atomics_tl): Same. (assignable, default_constructible, copy_constructible, explicit_value_constructible): New. * testsuite/17_intro/headers/c++200x/all.cc: Test new headers. * testsuite/29_atomics: New. * testsuite/29_atomics/atomic_address: Same. * testsuite/29_atomics/atomic_address/cons: Same. * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same. * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same. * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same. * testsuite/29_atomics/atomic_address/cons/default.cc: Same. * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same. * testsuite/29_atomics/atomic_flag: Same. * testsuite/29_atomics/atomic_flag/cons: Same. * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same. * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same. * testsuite/29_atomics/atomic_flag/cons/default.cc: Same. * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same. * testsuite/29_atomics/atomic_flag/requirements: Same. * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc: Same. * testsuite/29_atomics/atomic_flag/ atomic_global_fence_compatibility.cc: Same. * testsuite/29_atomics/atomic_flag/test_and_set: Same. * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same. * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same. * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same. * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same. * testsuite/29_atomics/headers: Same. * testsuite/29_atomics/headers/cstdatomic: Same. * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same. * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same. * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same. * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same. * testsuite/29_atomics/headers/stdatomic.h: Same. * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same. * testsuite/29_atomics/headers/stdatomic.h/types.c: Same. * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same. * testsuite/29_atomics/atomic: Same. * testsuite/29_atomics/atomic/cons: Same. * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same. * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same. * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same. * testsuite/29_atomics/atomic/cons/default.cc: Same. * testsuite/29_atomics/atomic/requirements: Same. * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same. * testsuite/29_atomics/atomic/requirements/explicit_instantiation/ 1.cc: Same. 2008-04-10 Lawrence Crowl <crowl@google.com> * include/c_global/cstdatomic: New. * include/c_compatibility/stdatomic.h: New. * src/atomic.c: New. From-SVN: r134174 |
||
Benjamin Kosnik
|
6116ca65dd |
Fixes for --disable-libstdcxx-pch.
2007-10-05 Benjamin Kosnik <bkoz@redhat.com> Fixes for --disable-libstdcxx-pch. * include/ext/rc_string_base.h: Include stl_iterator_base_funcs.h. * include/ext/vstring_util.h: Include stl_iterator.h and numeric_traits.h. * include/tr1/functional: Include new. * testsuite/util/testsuite_api.h: Include exception. * testsuite/lib/libstdc++.exp (libstdc++_init): Set PCH_CXXFLAGS via cxxpchflags. * testsuite/25_algorithms/binary_search/requirements/ explicit_instantiation/2.cc: Same.: Fix includes. * testsuite/25_algorithms/count_if/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/equal_range/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/find_end/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/find_first_of/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/find_if/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/for_each/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/includes/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/inplace_merge/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/lexicographical_compare/ requirements/explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/lower_bound/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/make_heap/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/max_element/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/max/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/merge/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/min_element/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/min/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/next_permutation/ requirements/explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/nth_element/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/partial_sort_copy/ requirements/explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/partial_sort/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/partition/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/pop_heap/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/prev_permutation/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/push_heap/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/random_shuffle/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/remove_copy_if/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/remove_if/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/replace_copy_if/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/replace_if/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/search_n/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/search/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/set_difference/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/set_intersection/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/set_symmetric_difference/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/set_union/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/sort_heap/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/sort/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/stable_partition/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/stable_sort/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/transform/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/unique_copy/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/unique/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/upper_bound/requirements/ explicit_instantiation/2.cc: Same. * testsuite/25_algorithms/remove/requirements/ explicit_instantiation/pod.cc: Provide a hint to the compiler. From-SVN: r129049 |
||
Chris Jefferson
|
f5783e34f9 |
moveable.cc: New.
2007-10-03 Chris Jefferson <chris@bubblescope.net> Benjamin Kosnik <bkoz@redhat.com> * testsuite/20_util/pair/moveable.cc: New. Merge from libstdcxx_so_7-branch. * testsuite/23_containers/deque/capacity/moveable.cc: Same. * testsuite/23_containers/deque/cons/moveable.cc: Same. * testsuite/23_containers/deque/modifiers/moveable.cc: Same. * testsuite/23_containers/deque/moveable.cc: Same. * testsuite/23_containers/list/moveable.cc: Same. * testsuite/23_containers/map/moveable.cc: Same. * testsuite/23_containers/multimap/moveable.cc: Same. * testsuite/23_containers/multiset/moveable.cc: Same. * testsuite/23_containers/set/moveable.cc: Same. * testsuite/23_containers/vector/cons/moveable.cc: Same. * testsuite/23_containers/vector/modifiers/moveable.cc: Same. * testsuite/23_containers/vector/moveable.cc: Same. * testsuite/23_containers/vector/resize/moveable.cc: Same. * testsuite/25_algorithms/heap/moveable.cc: Same. * testsuite/25_algorithms/nth_element/moveable.cc: Same. * testsuite/25_algorithms/partial_sort/moveable.cc: Same. * testsuite/25_algorithms/partition/moveable.cc: Same. * testsuite/25_algorithms/remove_if/moveable.cc: Same. * testsuite/25_algorithms/remove/moveable.cc: Same. * testsuite/25_algorithms/reverse/moveable.cc: Same. * testsuite/25_algorithms/rotate/moveable.cc: Same. * testsuite/25_algorithms/sort/moveable.cc: Same. * testsuite/25_algorithms/swap_ranges/moveable.cc: Same. * testsuite/25_algorithms/unique/moveable.cc: Same. * testsuite/util/testsuite_rvalref.h: New. * testsuite/25_algorithms/equal/equal.cc: Move to... * testsuite/25_algorithms/equal/no_operator_ne.cc: ...this. * testsuite/25_algorithms/heap/heap.cc: Move to... * testsuite/25_algorithms/heap/1.cc: ...this. * testsuite/25_algorithms/lower_bound/lower_bound.cc: Move to... * testsuite/25_algorithms/lower_bound/no_operator_ne.cc: ...this. * testsuite/25_algorithms/partition/partition.cc: Move to... * testsuite/25_algorithms/partition/1.cc: ...this. * testsuite/25_algorithms/stable_partition/1.cc: ... and this. * testsuite/25_algorithms/search/1.cc: Update from merge. * testsuite/25_algorithms/search/check_type.cc: Same. * testsuite/lib/dg-options.exp (dg-require-rvalref): New. * testsuite/lib/libstdc++.exp (check_v3_target_rvalref): New. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r128990 |
||
Richard Sandiford
|
23b72f1746 |
libstdc++.exp (check_v3_target_fileio): Test lseek.
libstdc++-v3/ * testsuite/lib/libstdc++.exp (check_v3_target_fileio): Test lseek. From-SVN: r128772 |
||
Benjamin Kosnik
|
bdfb7c6d56 |
configure.host: Set atomic_flags on i486.
2007-09-17 Benjamin Kosnik <bkoz@redhat.com> * configure.host: Set atomic_flags on i486. * include/Makefile.am: Remove parallel-mode pch. * include/Makefile.in: Regenerate. * testsuite/lib/libstdc++.exp: Set ld_library_flags for libgomp if present. * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Comment. * configure: Regenerate. From-SVN: r128579 |
||
Johannes Singler
|
c2ba97097b |
Add parallel mode.
2007-09-11 Johannes Singler <singler@ira.uka.de> Leonor Frias Moya <lfrias@lsi.upc.edu> Felix Putze <kontakt@felix-putze.de> Marius Elvert <marius.elvert@ira.uka.de> Felix Bondarenko <f.bondarenko@web.de> Robert Geisberger <robert.geisberger@stud.uni-karlsruhe.de> Robin Dapp <r.dapp@freenet.de> Benjamin Kosnik <bkoz@redhat.com> Add parallel mode. * include/parallel: New. * include/parallel/iterator.h: New. * include/parallel/multiway_merge.h: New. * include/parallel/parallel.h: New. * include/parallel/algorithm * include/parallel/find_selectors.h: New. * include/parallel/losertree.h: New. * include/parallel/list_partition.h: New. * include/parallel/types.h: New. * include/parallel/for_each.h: New. * include/parallel/multiseq_selection.h: New. * include/parallel/workstealing.h: New. * include/parallel/base.h: New. * include/parallel/par_loop.h: New. * include/parallel/numeric * include/parallel/features.h: New. * include/parallel/quicksort.h: New. * include/parallel/algorithmfwd.h: New. * include/parallel/equally_split.h: New. * include/parallel/compiletime_settings.h: New. * include/parallel/for_each_selectors.h: New. * include/parallel/basic_iterator.h: New. * include/parallel/omp_loop_static.h: New. * include/parallel/random_shuffle.h: New. * include/parallel/balanced_quicksort.h: New. * include/parallel/set_operations.h: New. * include/parallel/tags.h: New. * include/parallel/merge.h: New. * include/parallel/tree.h: New. * include/parallel/settings.h: New. * include/parallel/unique_copy.h: New. * include/parallel/multiway_mergesort.h: New. * include/parallel/numericfwd.h: New. * include/parallel/search.h: New. * include/parallel/partition.h: New. * include/parallel/compatibility.h: New. * include/parallel/algobase.h: New. * include/parallel/find.h: New. * include/parallel/partial_sum.h: New. * include/parallel/algo.h: New. * include/parallel/omp_loop.h: New. * include/parallel/queue.h: New. * include/parallel/timing.h: New. * include/parallel/sort.h: New. * include/parallel/checkers.h: New. * include/parallel/random_number.h: New. * include/bits/algorithmfwd.h: New. * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): New. * configure.host: Add atomic_flags. * configure.ac: Export ATOMIC_FLAGS, call GLIBCXX_ENABLE_PARALLEL. * src/Makefile.am: Add parallel_list rules. * include/Makefile.am: Add parallel files. * testsuite/Makefile.am (check-parallel): Add. (check-performance-parallel): Add. * config.h.in: Regenerate. * configure: Same. * libsupc++/Makefile.in: Same. * testsuite/Makefile.in: Same. * Makefile.in: Same. * libmath/Makefile.in: Same. * include/Makefile.in: Same. * src/Makefile.in: Same. * po/Makefile.in: Same. * config/abi/pre/gnu.ver: Export parallel list bits. * docs/html/parallel_mode.html: New. * docs/html/documentation.html: Add link. * docs/doxygen/user.cfg.in: Adjust for new files and directory. * docs/doxygen/doxygroups.cc: Adjust namespace markup. * include/debug/set.h: Adjust for _GLIBCXX_STD_D or _P change. * include/debug/bitset: Same. * include/debug/multiset.h: Same. * include/debug/vector: Same. * include/debug/map.h: Same. * include/debug/deque: Same. * include/debug/list: Same. * include/debug/debug.h: Same. * include/debug/multimap.h: Same. * include/std/algorithm: Same. * include/std/numeric: Same. * include/std/bitset: Same. * include/std/string: Same. * include/ext/hash_map: Same. * include/ext/hash_set: Same. * include/bits/stl_list.h: Same. * include/bits/stl_map.h: Same. * include/bits/stl_algobase.h: Same. * include/bits/stl_set.h: Same. * include/bits/stl_multimap.h: Same. * include/bits/stl_vector.h: Same. * include/bits/stl_numeric.h: Same. * include/bits/stl_deque.h: Same. * include/bits/stl_multiset.h: Same. * include/bits/char_traits.h: Same. * include/bits/stl_algo.h: Same. * include/bits/c++config: Same. * include/bits/vector.tcc: Same. * include/bits/deque.tcc: Same. * include/bits/stl_bvector.h: Same. * include/bits/list.tcc: Same. * src/list.cc: Same. * src/parallel_list.cc: New. * testsuite/lib/libstdc++.exp (check_v3_target_parallel_mode): New. * testsuite/lib/dg-options.exp (dg-require-parallel-mode): New. * scripts/testsuite_flags.in (--cxxparallelflags): New. * scripts/check_performance: Adjust. * testsuite/25_algorithms/headers/parallel_algorithm.cc: New. * testsuite/25_algorithms/headers/algorithm_parallel_mode.cc: New. * testsuite/25_algorithms/headers/parallel_algorithm_mixed1.cc: New. * testsuite/25_algorithms/headers/parallel_algorithm_mixed2.cc: New. * testsuite/26_numerics/headers/numeric/parallel_numeric.cc: New. * testsuite/26_numerics/headers/numeric/numeric_parallel_mode.cc: New. * testsuite/26_numerics/headers/numeric/ parallel_numeric_mixed1.cc: New. * testsuite/26_numerics/headers/numeric/ parallel_numeric_mixed2.cc: New. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> Co-Authored-By: Felix Bondarenko <f.bondarenko@web.de> Co-Authored-By: Felix Putze <kontakt@felix-putze.de> Co-Authored-By: Leonor Frias Moya <lfrias@lsi.upc.edu> Co-Authored-By: Marius Elvert <marius.elvert@ira.uka.de> Co-Authored-By: Robert Geisberger <robert.geisberger@stud.uni-karlsruhe.de> Co-Authored-By: Robin Dapp <r.dapp@freenet.de> From-SVN: r128395 |
||
Daniel Jacobowitz
|
fa6763a6fc |
libstdc++.exp (libstdc++_init): Revert part of 2007-09-06 change.
* testsuite/lib/libstdc++.exp (libstdc++_init): Revert part of 2007-09-06 change. From-SVN: r128384 |
||
Joseph Myers
|
7cff41e891 |
file-format.exp (gcc_target_object_format): Use remote_exec to call objdump.
gcc/testsuite: * lib/file-format.exp (gcc_target_object_format): Use remote_exec to call objdump. * lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not): Use remote_exec to call c++filt. * lib/target-supports-dg.exp (dg-require-host-local): New. * gcc.misc-tests/options.exp: Allow .exe in command paths. * g++.dg/parse/repo1.C: Use dg-require-host-local. * g++.dg/rtti/repo1.C: Likewise. * g++.dg/template/repo1.C: Likewise. * g++.dg/template/repo2.C: Likewise. * g++.dg/template/repo3.C: Likewise. * g++.dg/template/repo4.C: Likewise. * g++.dg/template/repo5.C: Likewise. * g++.old-deja/g++.pt/instantiate4.C: Likewise. * g++.old-deja/g++.pt/instantiate6.C: Likewise. * g++.old-deja/g++.pt/repo1.C: Likewise. * g++.old-deja/g++.pt/repo2.C: Likewise. * g++.old-deja/g++.pt/repo3.C: Likewise. * g++.old-deja/g++.pt/repo4.C: Likewise. * gcc.dg/cpp/trad/builtins.c: Likewise. libstdc++-v3: * testsuite/lib/libstdc++.exp (v3-build-support): Specify output file for preprocessing. Use remote_exec to call ar and ranlib. From-SVN: r128283 |
||
Benjamin Kosnik
|
bd1a56a0c3 |
libstdc++.exp: Check CXXFLAGS.
2007-09-06 Benjamin Kosnik <bkoz@redhat.com> * testsuite/lib/libstdc++.exp: Check CXXFLAGS. * scripts/testsuite_flags.in: CXXFLAGS_default, matching dejagnu. * include/std/ostream: Spacing tweak. * include/ext/hashtable.h: Use <algorithm>. * include/ext/slist: Same. * include/ext/rope: Same. * include/bits/stl_function.h: Format. * include/tr1_impl/array: Remove section number in doxygen markup. * src/list.cc: Comment tweak. * docs/doxygen/user.cfg.in: Update for include/tr1_impl. * testsuite/25_algorithms/search_n/iterator.cc: Add using declaration. * testsuite/25_algorithms/nth_element/1.cc: Same. * testsuite/21_strings/char_traits/requirements/short/1.cc: Use char_type typedef to the underlying character type. * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: Remove -ansi -pedantic-errors. * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: Same. * testsuite/tr1/6_containers/headers/functional/synopsis.cc: Remove specializations. From-SVN: r128225 |
||
Hans-Peter Nilsson
|
6ed80bc4da |
libstdc++.exp (v3-build_support): Use env(AR) and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET).
* testsuite/lib/libstdc++.exp (v3-build_support): Use env(AR) and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET). From-SVN: r126392 |
||
Mark Mitchell
|
357480cec5 |
cxxabi.h (_GLIBCXX_NOTHROW): New macro.
* libstdc++-v3/libsupc++/cxxabi.h (_GLIBCXX_NOTHROW): New macro. (__cxa_atexit): Use it. * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): For installed-tree testing, search more include directories. From-SVN: r124565 |
||
Mark Mitchell
|
7504beb420 |
libstdc++.exp (v3_target_compile_as_c): In installed-tree testing, use "remote_exec host", not "remote_exec exec".
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): In installed-tree testing, use "remote_exec host", not "remote_exec exec". Trip trailing newlines from output of -dumpversion and -dumpmachine. From-SVN: r124505 |
||
Hans-Peter Nilsson
|
8f1a19e2c5 |
libstdc++.exp (v3_target_compile_as_c): Correct regexp to filter out -nostdinc++.
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Correct regexp to filter out -nostdinc++. From-SVN: r124298 |
||
Nathan Sidwell
|
6c1e7e268e |
testsuite_flags.in: Add --build-cc option.
* scripts/testsuite_flags.in: Add --build-cc option. * testsuite/lib/libstdc++.exp (libstdc++_init): Set cc. Fix typo in previous change. (v3_target_compile_as_c): Use cc. From-SVN: r124058 |
||
Mark Mitchell
|
6cd5b96f39 |
libstdc++.exp (libstdc++_init): Use the same flags for remote host testing we use for local host testing.
* testsuite/lib/libstdc++.exp (libstdc++_init): Use the same flags for remote host testing we use for local host testing. Copy all testsuite headers to the remote host (v3_target_compile_as_c): Use remote_exec, not just exec. From-SVN: r124051 |
||
Benjamin Kosnik
|
803f183a94 |
functions_std.cc: Without C99 support, _GLIBCXX_USE_WCHAR_T not defined, so dg-require-c-std.
2007-03-22 Benjamin Kosnik <bkoz@redhat.com> * testsuite/21_strings/headers/cstdlib/functions_std.cc: Without C99 support, _GLIBCXX_USE_WCHAR_T not defined, so dg-require-c-std. * testsuite/tr1/6_containers/headers/functional/synopsis.cc: Same. * testsuite/27_io/headers/iostream/synopsis.cc: Same. * testsuite/27_io/headers/streambuf/types_std.cc: Same. * testsuite/27_io/headers/sstream/types_std.cc: Same. * testsuite/27_io/headers/ostream/types_std.cc: Same. * testsuite/27_io/headers/istream/types_std.cc: Same. * testsuite/27_io/headers/iostream/types_std.cc: Same. * testsuite/27_io/headers/fstream/types_std.cc: Same. * testsuite/21_strings/headers/string/types_std.cc: Same. * testsuite/21_strings/headers/cwctype/functions_std.cc: Same. * testsuite/21_strings/headers/cwctype/types_std.cc: Same. * testsuite/21_strings/headers/cwchar/functions_std.cc: Same. * testsuite/21_strings/headers/cwchar/types_std.cc: Same. * include/Makefile.am (c_compatibility_headers): Add fenv.h. * include/Makefile.in: Regenerate. * configure.host: Update comment. From-SVN: r123130 |
||
Benjamin Kosnik
|
7c62b943ba |
[multiple changes]
2007-03-16 Benjamin Kosnik <bkoz@redhat.com> * testsuite/lib/dg-options.exp (dg-require-c-std): New. * testsuite/lib/libstdc++.exp (check_v3_target_c_std): New. Check to see if _GLIBCXX_USE_C99_MATH is active. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_nan.cc: Use dg-require-c-std. * testsuite/tr1/5_numerical_facilities/special_functions/ 17_hyperg/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 13_ellint_2/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 16_hermite/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 12_ellint_1/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 18_laguerre/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 14_ellint_3/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 19_legendre/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 03_beta/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 15_expint/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/check_nan.cc: Same. * include/tr1/poly_laguerre.tcc (__poly_laguerre): Don't check if unsigned int can be a NaN. 2007-03-16 Edward M. Smith-Rowland <3dw4rd@verizon.net> * docs/html/ext/tr1.html : Marked tr1 math special functions done. * docs/html/faq/index.html : Ditto. * include/Makefile.in : Added new special function header files. * include/Makefile.am : Ditto. * include/tr1/common.h : Added type promotion routines for three and four args. * include/tr1/special_function_util.h: New. * include/tr1/bessel_function.tcc: New. * include/tr1/beta_function.tcc: New. * include/tr1/ell_integral.tcc: New. * include/tr1/exp_integral.tcc: New. * include/tr1/gamma.tcc: New. * include/tr1/hypergeometric.tcc: New. * include/tr1/legendre_function.tcc: New. * include/tr1/modified_bessel_func.tcc: New. * include/tr1/poly_hermite.tcc: New. * include/tr1/poly_laguerre.tcc: New. * include/tr1/riemann_zeta.tcc: New. * include/tr1/cmath : Included tr1 math special functions. * include/tr1/math.h : Ditto. * testsuite/tr1/5_numerical_facilities/special_functions/ testcase.h: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/ check_value_neg.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/ check_value_pos.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_value_neg.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_value_pos.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/ compile_2.cc: New. From-SVN: r122986 |
||
Hans-Peter Nilsson
|
43e0343088 |
libstdc++.exp (v3-build_support): If it exists, use env(AR_FOR_TARGET).
* testsuite/lib/libstdc++.exp (v3-build_support) <ar>: If it exists, use env(AR_FOR_TARGET). Log the command. <ranlib>: Similar. From-SVN: r122950 |
||
Nathan Sidwell
|
0c20e4ecc9 |
libstdc++.exp (check_v3_target_fileio, [...]): New.
* testsuite/lib/libstdc++.exp (check_v3_target_fileio, check_v3_target_time): New. * testsuite/lib/dg-options.exp (dg-require-fileio, dg-require-time): New. * testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: Use it. * testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: Use it. * testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: Use it. * testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: Use it. * testsuite/ext/stdio_sync_filebuf/char/1.cc: Use it. * testsuite/ext/stdio_filebuf/char/2.cc: Use it. * testsuite/ext/stdio_filebuf/char/10063-1.cc: Use it. * testsuite/ext/stdio_filebuf/char/10063-2.cc: Use it. * testsuite/ext/stdio_filebuf/char/10063-3.cc: Use it. * testsuite/22_locale/time_put/put/char/12439_1.cc: Use it. * testsuite/22_locale/time_put/put/char/12439_3.cc: Use it. * testsuite/27_io/basic_ofstream/open/char/1.cc: Use it. * testsuite/27_io/basic_ofstream/cons/char/2.cc: Use it. * testsuite/27_io/objects/char/12048-2.cc: Use it. * testsuite/27_io/objects/char/12048-4.cc: Use it. * testsuite/27_io/objects/char/12048-1.cc: Use it. * testsuite/27_io/objects/char/12048-3.cc: Use it. * testsuite/27_io/objects/char/10.cc: Use it. * testsuite/27_io/objects/char/12048-5.cc: Use it. * testsuite/27_io/basic_istream/get/char/2.cc: Use it. * testsuite/27_io/basic_istream/ignore/char/2.cc: Use it. * testsuite/27_io/basic_istream/ignore/char/3.cc: Use it. * testsuite/27_io/basic_istream/getline/char/5.cc: Use it. * testsuite/27_io/basic_istream/seekg/char/sstream.cc: Use it. * testsuite/27_io/basic_istream/seekg/char/fstream.cc: Use it. * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Use it. * testsuite/27_io/basic_istream/extractors_other/char/2.cc: Use it. * testsuite/27_io/basic_istream/tellg/char/sstream.cc: Use it. * testsuite/27_io/basic_istream/tellg/char/1.cc: Use it. * testsuite/27_io/basic_istream/tellg/char/fstream.cc: Use it. * testsuite/27_io/basic_istream/extractors_character/char/4.cc: Use it. * testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Use it. * testsuite/27_io/basic_ostream/tellp/char/1.cc: Use it. * testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Use it. * testsuite/27_io/basic_ifstream/open/char/1.cc: Use it. * testsuite/27_io/basic_ifstream/cons/char/1.cc: Use it. * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Use it. * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Use it. * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Use it. * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Use it. * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Use it. * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Use it. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Use it. * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Use it. * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Use it. * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Use it. * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Use it. * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Use it. * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Use it. * testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Use it. * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Use it. * testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Use it. * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Use it. * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Use it. * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Use it. * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Use it. * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Use it. * testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Use it. * testsuite/27_io/basic_filebuf/is_open/char/1.cc: Use it. * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Use it. * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Use it. * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Use it. * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Use it. * testsuite/27_io/basic_filebuf/open/12790-1.cc: Use it. * testsuite/27_io/basic_filebuf/open/char/1.cc: Use it. * testsuite/27_io/basic_filebuf/open/char/2.cc: Use it. * testsuite/27_io/basic_filebuf/open/char/3.cc: Use it. * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Use it. * testsuite/27_io/basic_filebuf/overflow/char/2.cc: Use it. * testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Use it. * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Use it. * testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Use it. * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Use it. * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Use it. * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Use it. * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Use it. * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Use it. * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Use it. * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Use it. * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Use it. * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Use it. * testsuite/27_io/basic_filebuf/close/12790-1.cc: Use it. * testsuite/27_io/basic_filebuf/close/char/1.cc: Use it. * testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Use it. * testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Use it. * testsuite/27_io/basic_filebuf/close/char/2.cc: Use it. * testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Use it. * testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Use it. * testsuite/27_io/basic_filebuf/close/char/4.cc: Use it. * testsuite/27_io/basic_filebuf/underflow/10096.cc: Use it. * testsuite/27_io/basic_filebuf/underflow/char/2.cc: Use it. * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Use it. * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Use it. * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Use it. * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Use it. * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Use it. * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Use it. * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Use it. * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Use it. * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Use it. * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Use it. * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Use it. * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Use it. * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: Use it. * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: Use it. * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: Use it. From-SVN: r122913 |
||
Joseph Myers
|
039183c961 |
re PR libstdc++/30675 (libstdc++ testsuite hardcodes "ar" and "ranlib")
PR libstdc++/30675 * testsuite/lib/libstdc++.exp (v3-build_support): Use [transform "ar"] and [transform "ranlib"]. From-SVN: r122576 |
||
Mark Mitchell
|
d1fb5e1c0b |
wrapper.exp (${tool}_maybe_build_wrapper): Allow the caller to set options for compiling testglue.
* lib/wrapper.exp (${tool}_maybe_build_wrapper): Allow the caller to set options for compiling testglue. * lib/g++.exp (g++_init): Compile testglue with -fexceptions. * lib/obj-c++.exp (obj-c++_init): Likewise. * testsuite/lib/libstdc++.exp (libstdc++_init): Compile testglue with -fexceptions. From-SVN: r122217 |
||
Benjamin Kosnik
|
9e4515539b |
PR libstdc++/29722 continued
2007-01-24 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/29722 continued * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add libsupc++ library directory. * testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded path specification. From-SVN: r121117 |