34cd848904
313 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Paolo Carlini
|
935ec36fdd |
re PR libstdc++/55215 (Constructor seeding is broken for Mersenne twister)
2012-11-05 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/55215 * include/bits/random.tcc (mersenne_twister_engine<>::seed(_Sseq&)): Assign state_size to _M_p. * testsuite/26_numerics/random/mersenne_twister_engine/cons/55215.cc: New. * testsuite/26_numerics/random/independent_bits_engine/cons/55215.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/55215.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ 55215.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/55215.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ 55215.cc: Likewise. From-SVN: r193181 |
||
Jonathan Wakely
|
2328b1de5e |
range_access.cc: Fix copying permission statement.
* testsuite/18_support/initializer_list/range_access.cc: Fix copying permission statement. * testsuite/20_util/specialized_algorithms/uninitialized_copy/ 808590.cc: Likewise. * testsuite/20_util/specialized_algorithms/uninitialized_copy/ move_iterators/1.cc: Likewise. * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/ move_iterators/1.cc: Likewise. * testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc: Likewise. * testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc: Likewise. * testsuite/21_strings/basic_string/range_access/char/1.cc: Likewise. * testsuite/21_strings/basic_string/range_access/wchar_t/1.cc: Likewise. * testsuite/23_containers/array/element_access/at_neg.cc: Likewise. * testsuite/23_containers/array/range_access.cc: Likewise. * testsuite/23_containers/deque/capacity/29134-2.cc: Likewise. * testsuite/23_containers/deque/capacity/29134.cc: Likewise. * testsuite/23_containers/deque/capacity/shrink_to_fit.cc: Likewise. * testsuite/23_containers/deque/range_access.cc: Likewise. * testsuite/23_containers/deque/requirements/do_the_right_thing.cc: Likewise. * testsuite/23_containers/forward_list/capacity/1.cc: Likewise. * testsuite/23_containers/forward_list/cons/1.cc: Likewise. * testsuite/23_containers/forward_list/cons/10.cc: Likewise. * testsuite/23_containers/forward_list/cons/11.cc: Likewise. * testsuite/23_containers/forward_list/cons/12.cc: Likewise. * testsuite/23_containers/forward_list/cons/2.cc: Likewise. * testsuite/23_containers/forward_list/cons/3.cc: Likewise. * testsuite/23_containers/forward_list/cons/4.cc: Likewise. * testsuite/23_containers/forward_list/cons/5.cc: Likewise. * testsuite/23_containers/forward_list/cons/6.cc: Likewise. * testsuite/23_containers/forward_list/cons/7.cc: Likewise. * testsuite/23_containers/forward_list/cons/8.cc: Likewise. * testsuite/23_containers/forward_list/cons/9.cc: Likewise. * testsuite/23_containers/forward_list/debug/clear.cc: Likewise. * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/move_constructor.cc: Likewise. * testsuite/23_containers/forward_list/debug/splice_after.cc: Likewise. * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/splice_after5_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/splice_after6_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/splice_after7_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/swap.cc: Likewise. * testsuite/23_containers/forward_list/modifiers/1.cc: Likewise. * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise. * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise. * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise. * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise. * testsuite/23_containers/forward_list/modifiers/6.cc: Likewise. * testsuite/23_containers/forward_list/operations/1.cc: Likewise. * testsuite/23_containers/forward_list/operations/2.cc: Likewise. * testsuite/23_containers/forward_list/operations/3.cc: Likewise. * testsuite/23_containers/forward_list/operations/4.cc: Likewise. * testsuite/23_containers/forward_list/operations/5.cc: Likewise. * testsuite/23_containers/forward_list/operations/6.cc: Likewise. * testsuite/23_containers/forward_list/operations/7.cc: Likewise. * testsuite/23_containers/forward_list/range_access.cc: Likewise. * testsuite/23_containers/forward_list/requirements/ do_the_right_thing.cc: Likewise. * testsuite/23_containers/list/capacity/1.cc: Likewise. * testsuite/23_containers/list/capacity/1.h: Likewise. * testsuite/23_containers/list/capacity/29134.cc: Likewise. * testsuite/23_containers/list/modifiers/1.cc: Likewise. * testsuite/23_containers/list/modifiers/1.h: Likewise. * testsuite/23_containers/list/modifiers/1_c++0x.cc: Likewise. * testsuite/23_containers/list/modifiers/2.cc: Likewise. * testsuite/23_containers/list/modifiers/2.h: Likewise. * testsuite/23_containers/list/modifiers/3.cc: Likewise. * testsuite/23_containers/list/modifiers/3.h: Likewise. * testsuite/23_containers/list/modifiers/insert/25288.cc: Likewise. * testsuite/23_containers/list/modifiers/insert/25288.h: Likewise. * testsuite/23_containers/list/operations/1.cc: Likewise. * testsuite/23_containers/list/operations/1.h: Likewise. * testsuite/23_containers/list/operations/2.cc: Likewise. * testsuite/23_containers/list/operations/2.h: Likewise. * testsuite/23_containers/list/operations/2_c++0x.cc: Likewise. * testsuite/23_containers/list/operations/3.cc: Likewise. * testsuite/23_containers/list/operations/3.h: Likewise. * testsuite/23_containers/list/operations/3_c++0x.cc: Likewise. * testsuite/23_containers/list/operations/4.cc: Likewise. * testsuite/23_containers/list/operations/4.h: Likewise. * testsuite/23_containers/list/operations/42352.cc: Likewise. * testsuite/23_containers/list/operations/5.cc: Likewise. * testsuite/23_containers/list/operations/5.h: Likewise. * testsuite/23_containers/list/range_access.cc: Likewise. * testsuite/23_containers/list/requirements/do_the_right_thing.cc: Likewise. * testsuite/23_containers/map/capacity/29134.cc: Likewise. * testsuite/23_containers/map/range_access.cc: Likewise. * testsuite/23_containers/multimap/capacity/29134.cc: Likewise. * testsuite/23_containers/multimap/range_access.cc: Likewise. * testsuite/23_containers/multiset/capacity/29134.cc: Likewise. * testsuite/23_containers/multiset/range_access.cc: Likewise. * testsuite/23_containers/set/capacity/29134.cc: Likewise. * testsuite/23_containers/set/range_access.cc: Likewise. * testsuite/23_containers/unordered_map/final_hash.cc: Likewise. * testsuite/23_containers/unordered_map/observers.cc: Likewise. * testsuite/23_containers/unordered_map/range_access.cc: Likewise. * testsuite/23_containers/unordered_map/requirements/52942.cc: Likewise. * testsuite/23_containers/unordered_map/requirements/53067.cc: Likewise. * testsuite/23_containers/unordered_map/requirements/53339.cc: Likewise. * testsuite/23_containers/unordered_multimap/final_hash.cc: Likewise. * testsuite/23_containers/unordered_multimap/observers.cc: Likewise. * testsuite/23_containers/unordered_multimap/range_access.cc: Likewise. * testsuite/23_containers/unordered_multimap/requirements/53339.cc: Likewise. * testsuite/23_containers/unordered_multiset/final_hash.cc: Likewise. * testsuite/23_containers/unordered_multiset/observers.cc: Likewise. * testsuite/23_containers/unordered_multiset/range_access.cc: Likewise. * testsuite/23_containers/unordered_set/final_hash.cc: Likewise. * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise. * testsuite/23_containers/unordered_set/observers.cc: Likewise. * testsuite/23_containers/unordered_set/range_access.cc: Likewise. * testsuite/23_containers/unordered_set/requirements/52942.cc: Likewise. * testsuite/23_containers/unordered_set/requirements/53067.cc: Likewise. * testsuite/23_containers/vector/bool/capacity/29134.cc: Likewise. * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Likewise. * testsuite/23_containers/vector/capacity/29134-2.cc: Likewise. * testsuite/23_containers/vector/capacity/29134.cc: Likewise. * testsuite/23_containers/vector/capacity/shrink_to_fit.cc: Likewise. * testsuite/23_containers/vector/capacity/shrink_to_fit2.cc: Likewise. * testsuite/23_containers/vector/range_access.cc: Likewise. * testsuite/23_containers/vector/requirements/do_the_right_thing.cc: Likewise. * testsuite/24_iterators/range_access.cc: Likewise. * testsuite/25_algorithms/copy/1.cc: Likewise. * testsuite/25_algorithms/copy/2.cc: Likewise. * testsuite/25_algorithms/copy/3.cc: Likewise. * testsuite/25_algorithms/copy/34595.cc: Likewise. * testsuite/25_algorithms/copy/4.cc: Likewise. * testsuite/25_algorithms/copy/deque_iterators/1.cc: Likewise. * testsuite/25_algorithms/copy/move_iterators/1.cc: Likewise. * testsuite/25_algorithms/copy/streambuf_iterators/char/1.cc: Likewise. * testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc: Likewise. * testsuite/25_algorithms/copy/streambuf_iterators/char/3.cc: Likewise. * testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc: Likewise. * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/1.cc: Likewise. * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/2.cc: Likewise. * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/3.cc: Likewise. * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc: Likewise. * testsuite/25_algorithms/copy_backward/deque_iterators/1.cc: Likewise. * testsuite/25_algorithms/copy_backward/move_iterators/1.cc: Likewise. * testsuite/25_algorithms/copy_n/1.cc: Likewise. * testsuite/25_algorithms/copy_n/2.cc: Likewise. * testsuite/25_algorithms/copy_n/3.cc: Likewise. * testsuite/25_algorithms/copy_n/4.cc: Likewise. * testsuite/25_algorithms/copy_n/50119.cc: Likewise. * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise. * testsuite/25_algorithms/fill/4.cc: Likewise. * testsuite/25_algorithms/fill_n/1.cc: Likewise. * testsuite/25_algorithms/find/istreambuf_iterators/char/1.cc: Likewise. * testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc: Likewise. * testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/1.cc: Likewise. * testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc: Likewise. * testsuite/25_algorithms/heap/1.cc: Likewise. * testsuite/25_algorithms/heap/moveable.cc: Likewise. * testsuite/25_algorithms/heap/moveable2.cc: Likewise. * testsuite/25_algorithms/is_heap/1.cc: Likewise. * testsuite/25_algorithms/is_heap_until/1.cc: Likewise. * testsuite/25_algorithms/is_sorted/1.cc: Likewise. * testsuite/25_algorithms/is_sorted_until/1.cc: Likewise. * testsuite/25_algorithms/move/1.cc: Likewise. * testsuite/25_algorithms/move/deque_iterators/1.cc: Likewise. * testsuite/25_algorithms/move_backward/1.cc: Likewise. * testsuite/25_algorithms/move_backward/deque_iterators/1.cc: Likewise. * testsuite/25_algorithms/partition/1.cc: Likewise. * testsuite/25_algorithms/partition/moveable.cc: Likewise. * testsuite/25_algorithms/pop_heap/empty2_neg.cc: Likewise. * testsuite/25_algorithms/pop_heap/empty_neg.cc: Likewise. * testsuite/25_algorithms/stable_partition/1.cc: Likewise. * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise. * testsuite/25_algorithms/stable_partition/pr52822.cc: Likewise. * testsuite/26_numerics/valarray/range_access.cc: Likewise. * testsuite/28_regex/range_access.cc: Likewise. * testsuite/ext/vstring/capacity/29134.cc: Likewise. * testsuite/ext/vstring/capacity/shrink_to_fit.cc: Likewise. * testsuite/ext/vstring/hash/char/1.cc: Likewise. * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise. * testsuite/ext/vstring/range_access.cc: Likewise. * testsuite/ext/vstring/requirements/do_the_right_thing.cc: Likewise. * testsuite/performance/25_algorithms/copy_backward_deque_iterators.cc: Likewise. * testsuite/performance/25_algorithms/copy_deque_iterators.cc: Likewise. * testsuite/tr1/6_containers/unordered_map/capacity/29134-map.cc: Likewise. * testsuite/tr1/6_containers/unordered_multimap/capacity/ 29134-multimap.cc: Likewise. * testsuite/tr1/6_containers/unordered_multiset/capacity/ 29134-multiset.cc: Likewise. * testsuite/tr1/6_containers/unordered_set/capacity/29134-set.cc: Likewise. From-SVN: r193076 |
||
Marc Glisse
|
8f2b580aeb |
re PR target/54686 (std::abs (long long) resorts to std::abs (double) if llabs is absent)
2012-10-05 Marc Glisse <marc.glisse@inria.fr> PR libstdc++/54686 * include/c_std/cstdlib (abs(long long)): Define with __builtin_llabs when we have long long. (abs(long)): Use __builtin_labs. (abs(__int128)): Define when we have __int128. * testsuite/26_numerics/headers/cstdlib/54686.c: New file. From-SVN: r192132 |
||
Paolo Carlini
|
d9d69f64b1 |
random (rice_distribution<>::operator==): Change inline friend definition to non-template.
2012-09-16 Paolo Carlini <paolo.carlini@oracle.com> * include/ext/random (rice_distribution<>::operator==): Change inline friend definition to non-template. * testsuite/ext/random/rice_distribution/requirements/ explicit_instantiation/1.cc: New. * testsuite/26_numerics/random/normal_mv_distribution: Move... * testsuite/ext/random/normal_mv_distribution: ... here. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine: Move... * testsuite/ext/random/simd_fast_mersenne_twister_engine: ... here. * testsuite/26_numerics/random/beta_distribution: Move... * testsuite/ext/random/beta_distribution: ... here. * testsuite/26_numerics/random/rice_distribution: Move... * testsuite/ext/random/rice_distribution: ... here. From-SVN: r191367 |
||
Edward Smith-Rowland
|
283126182e |
Add the rice distribution as an extension.
From-SVN: r191362 |
||
Ulrich Drepper
|
bf30f22962 |
random: Add __gnu_cxx:normal_mv_distribution<> class.
* include/ext/random: Add __gnu_cxx:normal_mv_distribution<> class. * include/ext/random.tccAdd out-of-line functions for __gnu_cxx::normal_mv_distribution<>. * testsuite/26_numerics/random/normal_mv_distribution/ operators/equal.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ operators/serialize.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ operators/inequal.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ cons/default.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ cons/parms.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ requirements/explicit_instantiation/1.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ requirements/typedefs.cc: New file. From-SVN: r190960 |
||
Ulrich Drepper
|
d4d348a9fe |
random: Add __gnu_cxx::beta_distribution<> class.
* libstdc++-v3/include/ext/random: Add __gnu_cxx::beta_distribution<> class. * libstdc++-v3/include/ext/random.tcc: Add out-of-line functions for __gnu_cxx::beta_distribution<>. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ operators/equal.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ operators/serialize.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ operators/inequal.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ cons/parms.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ cons/default.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ requirements/typedefs.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ requirements/explicit_instantiation/1.cc: New file. From-SVN: r190954 |
||
Ulrich Drepper
|
1860430ab5 |
Add simd_fast_mersenne_twister_engine class.
* include/ext/random: New file. * include/ext/random.tcc: New file. * include/Makefile.am (ext_headers): Add random and random.tcc. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ operators/inequal.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ operators/equal.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ operators/serialize.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ cons/seed2.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ cons/default.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ cons/seed_seq.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ cons/copy.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ cons/seed1.cc: New file. From-SVN: r190783 |
||
Marc Glisse
|
a30e18c147 |
re PR libstdc++/54376 (incorrect complaint about redefinition)
2012-08-26 Marc Glisse <marc.glisse@inria.fr> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/54376 * include/bits/random.h (lognormal_distribution<>::operator==, gamma_distribution<>::operator==, chi_squared_distribution<>::operator==, fisher_f_distribution<>::operator==, student_t_distribution<>::operator==, binomial_distribution<>::operator==, negative_binomial_distribution<>::operator==, poisson_distribution<>::operator==): Change inline friend definition to non-template. * testsuite/26_numerics/random/binomial_distribution/requirements/ explicit_instantiation/1.cc: New. * testsuite/26_numerics/random/cauchy_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/piecewise_constant_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/student_t_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/uniform_real_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/requirements/ explicit_instantiation/1.cc: Likewise. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r190694 |
||
Marc Glisse
|
6a9573cc7b |
re PR libstdc++/54112 (including complex.h and complex fails in C++03)
2012-08-13 Marc Glisse <marc.glisse@inria.fr> PR libstdc++/54112 * include/c_compatibility/complex.h: Undefine complex, always include system's complex.h if present. * testsuite/26_numerics/complex/c99.cc: New testcase. * testsuite/17_intro/headers/c++1998/complex.cc: Likewise. * doc/xml/manual/numerics.xml: Document it. From-SVN: r190340 |
||
Paolo Carlini
|
5d497b05fe |
re PR c++/53503 ([C++0x] unexpected AST of kind ltgt_expr)
gcc/cp 2012-05-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/53503 * semantics.c (potential_constant_expression_1): Handle LTGT_EXPR. libstdc++-v3 2012-05-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/53503 * testsuite/26_numerics/headers/cmath/53503.cc: New. From-SVN: r187928 |
||
Marc Glisse
|
cf48c25519 |
re PR libstdc++/51795 (linear_congruential_engine doesn't work correctly)
2012-04-29 Marc Glisse <marc.glisse@inria.fr> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/51795 * include/bits/stl_algobase.h (__lg<>(_Size)): Remove. (__lg(int), __lg(unsigned), __lg(long), __lg(unsigned long), __lg(long long), __lg(unsigned long long)): Define constexpr. * include/bits/random.h (_Mod<>): Overcome Schrage's algorithm limitations. (__mod): Adjust. (linear_congruential): Remove FIXME static_assert. * include/bits/random.tcc (_Mod<>): Adjust. * testsuite/26_numerics/random/linear_congruential_engine/operators/ 51795.cc: New. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r186948 |
||
Paolo Carlini
|
6a9218cc9c |
51083.cc: Move...
2012-04-13 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/26_numerics/cmath/51083.cc: Move... * testsuite/26_numerics/headers/cmath/51083.cc: ... here. From-SVN: r186445 |
||
Edward Smith-Rowland
|
afe03c233e |
Add testsuite checks for param_type in the <random> distributions.
From-SVN: r184501 |
||
Jonathan Wakely
|
306133e3d4 |
re PR libstdc++/51083 (TR1 [tr.c99.cmath.over] and C++11 [cmplx.over] overloads not constrained)
PR libstdc++/51083 * include/ext/type_traits.h (__promote): Only define __type member for integral and floating point types, to prevent math functions participating in overload resolution for other types. (__promote_2, __promote_3, __promote_4): Use __promote in default template argument values, so deduction only succeeds for integral and floating point types. * testsuite/26_numerics/cmath/51083.cc: New. * testsuite/26_numerics/complex/51083.cc: New. * testsuite/tr1/8_c_compatibility/cmath/51083.cc: New. * testsuite/tr1/8_c_compatibility/complex/51083.cc: New. From-SVN: r181321 |
||
Paolo Carlini
|
3164517929 |
re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream)
2011-11-02 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/50951 * include/bits/random.tcc (operator<<(basic_ostream<>&, const mersenne_twister_engine<>&): Output _M_p too. (operator<<(basic_ostream<>&, const subtract_with_carry_engine<>&): Likewise. (operator>>(basic_istream<>&, mersenne_twister_engine<>&): Reload it. (operator>>(basic_istream<>&, subtract_with_carry_engine<>&): Likewise. * include/bits/random.h (mersenne_twister_engine<>::operator==): Compare _M_p too. (subtract_with_carry_engine<>::operator==): Compare _M_carry and _M_p too. (shuffle_order_engine<>::operator==): Compare _M_v(s) and _M_y too. * testsuite/26_numerics/random/independent_bits_engine/ operators/serialize.cc: Extend. * testsuite/26_numerics/random/subtract_with_carry_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/ operators/serialize.cc: Likewise. From-SVN: r180764 |
||
Jason Merrill
|
97e3ad20b1 |
re PR c++/50920 (add a -std=c++11 option to the driver)
PR c++/50920 gcc/c-family * c-common.h (cxx_dialect): Add cxx11 and cxx03. * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03, and -Wc++11-compat. * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x. gcc/cp * class.c (check_field_decl): Change c++0x in diags to c++11. * error.c (maybe_warn_cpp0x): Likewise. * parser.c (cp_parser_diagnose_invalid_type_name): Likewise. * pt.c (check_default_tmpl_args): Likewise. libcpp * include/cpplib.h (enum c_lang): Rename CLK_CXX0X to CLK_CXX11, CLK_GNUCXX0X to CLK_GNUCXX11. libstdc++-v3 * include/bits/c++0x_warning.h: Change -std=c++0x to -std=c++11. From-SVN: r180707 |
||
Richard B. Kreckel
|
259f206328 |
re PR libstdc++/50880 (__complex_acosh() picks wrong complex branch)
2011-10-27 Richard B. Kreckel <kreckel@ginac.de> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/50880 * include/std/complex (__complex_acosh): Fix for __z.real() < 0. * include/tr1/complex (__complex_acosh): Likewise. * testsuite/26_numerics/complex/50880.cc: New. * testsuite/tr1/8_c_compatibility/complex/50880.cc: Likewise. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r180563 |
||
Jonathan Wakely
|
6f20ac347a |
tie2.cc: Fix for C++0x mode.
2011-06-23 Jonathan Wakely <jwakely.gcc@gmail.com> * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for C++0x mode. * testsuite/25_algorithms/sort/35588.cc: Likewise. * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise. From-SVN: r175329 |
||
Paolo Carlini
|
6a97dbf748 |
valarray (~valarray): Use noexcept.
2011-06-14 Paolo Carlini <paolo.carlini@oracle.com> * include/std/valarray (~valarray): Use noexcept. * include/bits/unique_ptr.h (~unique_ptr): Likewise. * testsuite/26_numerics/valarray/noexcept_move_construct.cc: New. * testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc: Likewise. * testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc: Likewise. * testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc: Likewise. From-SVN: r175039 |
||
Paolo Carlini
|
9fb38494a9 |
re PR libstdc++/49141 (26_numerics/complex/cons/48760.cc FAILs on Tru64 UNIX V5.1B, Solaris 8 and 9)
2011-05-24 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/49141 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std. * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise. * testsuite/26_numerics/headers/cmath/19322.cc: Likewise. From-SVN: r174120 |
||
Paolo Carlini
|
cddebdb7a8 |
overloads_c++0x_neg.cc: Use dg-require-cmath.
2011-05-11 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use dg-require-cmath. * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise. From-SVN: r173684 |
||
Paolo Carlini
|
b04fa73811 |
re PR libstdc++/48933 (Infinite recursion in tr1/cmath functions with complex parameters)
2011-05-09 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/48933 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign, erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma, llrint, llround, log1p, log2, logb, lrint, lround, nearbyint, nextafter, nexttoward, remainder, remquo, rint, round, scalbln, scalbn, tgamma, trunc): Use __enable_if on the return type. * include/tr1/cmath: Likewise. * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New. * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise. From-SVN: r173574 |
||
Paolo Carlini
|
8a3cabe30f |
re PR libstdc++/48848 ([C++0x] std::valarray<T> functions missing)
2011-05-03 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/48848 * include/std/valarray (valarray<>::valarray(valarray&&), valarray<>::operator=(valarray&&), valarray<>::swap): Add. * doc/xml/manual/status_cxx200x.xml: Update. * testsuite/26_numerics/valarray/moveable.cc: New. * testsuite/26_numerics/valarray/swap.cc: Likewise. From-SVN: r173344 |
||
Paolo Carlini
|
0ecca7a6a6 |
re PR libstdc++/48750 (for_each_template_random_access_ed has unbalanced new/delete[])
2011-05-03 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/48750 * include/parallel/multiway_merge.h: Run _ValueType destructors. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/quicksort.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/losertree.h: Run destructors; minor tweaks. * include/parallel/par_loop.h: Run destructors, fix memory allocations and deallocations. * testsuite/26_numerics/accumulate/48750.cc: New. * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in parallel-mode to avoid spurious multiple errors. From-SVN: r173309 |
||
Paolo Carlini
|
9f1163b171 |
re PR libstdc++/48760 (std::complex constructor buggy in the face of NaN's)
2011-04-28 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/48760 * include/std/complex (complex<float>::complex(float, float), complex<double>::complex(double, double), complex<long double>::complex(long double, long double)): Use list-initialization in C++0x mode, initialize in the body in C++03 mode. * testsuite/26_numerics/complex/cons/48760.cc: New. * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise. 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com> * include/std/bitset (_Base_bitset(unsigned long long)): Minor tweak, remove redundant round braces. From-SVN: r173065 |
||
Paolo Carlini
|
113b21bdaf |
random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd.
2011-03-24 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), negative_binomial_distribution<>:: negative_binomial_distribution(const param_type&)): Fix construction of _M_gd. * include/bits/random.tcc (negative_binomial_distribution<>:: operator()): Fix computation, per Leger's algorithm. * testsuite/util/testsuite_random.h (discrete_pdf, negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New. (binomial_pdf): Swap last two parameters. * testsuite/26_numerics/random/discrete_distribution/ operators/values.cc: New. * testsuite/26_numerics/random/negative_binomial_distribution/ operators/values.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/ operators/values.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/ operators/values.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/ operators/values.cc: Adjust. From-SVN: r171411 |
||
Paolo Carlini
|
67bd9a32cf |
libstdc++.exp (check_v3_target_c99_math): Rename to check_v3_target_cmath.
2011-03-19 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename to check_v3_target_cmath. * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename to dg-require-cmath. * testsuite/26_numerics/random/binomial_distribution/ operators/values.cc: Adjust. From-SVN: r171184 |
||
Paolo Carlini
|
294eab8c10 |
testsuite_random.h: New.
2011-03-18 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/util/testsuite_random.h: New. * testsuite/lib/libstdc++.exp (check_v3_target_c99_math, dg-require-c99_math): Add. * testsuite/26_numerics/random/bernoulli_distribution/ operators/values.cc: New. * testsuite/26_numerics/random/binomial_distribution/ operators/values.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/ operators/values.cc: Likewise. From-SVN: r171133 |
||
Johannes Singler
|
52fe3d5bee |
numeric (inner_product, [...]): Qualify subsequent call with __gnu_parallel instead of _GLIBCXX_STD_P to...
2011-01-26 Johannes Singler <singler@kit.edu> * include/parallel/numeric (inner_product, partial_sum): Qualify subsequent call with __gnu_parallel instead of _GLIBCXX_STD_P to reenable parallel execution without ambiguity. * include/parallel/algobase.h (equal): Likewise. * include/parallel/algo.h (find_first_of, search_n, merge, nth_element, partial_sort, max_element, min_element): Likewise. * testsuite/25_algorithms/headers/algorithm/ parallel_algorithm_mixed1.cc (main): Add respective test cases. * testsuite/25_algorithms/headers/algorithm/ parallel_algorithm_mixed2.cc (main): Likewise. * testsuite/26_numerics/headers/numeric/ parallel_numeric_mixed1.cc (main): Likewise. * testsuite/26_numerics/headers/numeric/ parallel_numeric_mixed2.cc (main): Likewise. From-SVN: r169280 |
||
Benjamin Kosnik
|
f910786b98 |
*: Use headername alias to associate private includes to public includes.
2010-11-18 Benjamin Kosnik <bkoz@redhat.com> * config/*/*: Use headername alias to associate private includes to public includes. * include/*/*: Same. * scripts/run_doxygen: Update for doxygen 1.7.2. * doc/doxygen/user.cfg.in: Same. * doc/doxygen/TODO: Remove. * testsuite/*/std_c++0x_neg.cc: Adjust line number. From-SVN: r168046 |
||
Benjamin Kosnik
|
85db9dcc30 |
chrono: Constexpr markup for is_monotonic.
2010-11-23 Benjamin Kosnik <bkoz@redhat.com> * include/std/chrono: Constexpr markup for is_monotonic. * src/chrono.cc: Same. * testsuite/20_util/clocks/1.cc: Move... * testsuite/20_util/system_clock/1.cc: ...here. * testsuite/20_util/system_clock/constexpr_data.cc * testsuite/20_util/monotonic_clock/constexpr_data.cc * include/std/complex: Mark primary template constexpr. * testsuite/26_numerics/complex/cons/constexpr_primary.cc: Add. * testsuite/26_numerics/complex/complex_value.cc: Move... * testsuite/26_numerics/complex/dr387.cc: Move... * testsuite/26_numerics/complex/value_operations/1.cc: ... here. * testsuite/26_numerics/complex/value_operations/dr387.cc: ...here. * testsuite/26_numerics/complex/value_operations/constexpr.cc: New. 2010-11-23 Benjamin Kosnik <bkoz@redhat.com> Jason Merrill <jason@redhat.com> * testsuite/lib/libstdc++.exp: Use scanasm. * testsuite/util/testsuite_common_types.h (constexpr_default_constructible): Add support for non-literal types. (constexpr_single_value_constructible): Same. * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Remove xfail. * testsuite/20_util/shared_ptr/cons/constexpr.cc: Add. * testsuite/20_util/unique_ptr/cons/constexpr.cc: Add. * testsuite/20_util/weak_ptr/cons/constexpr.cc: Add. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line number. 2010-11-23 Benjamin Kosnik <bkoz@redhat.com> Jonathan Wakely <jwakely.gcc@gmail.com> * include/std/future (shared_future): Default ctor constexpr. (future): Same. * testsuite/30_threads/shared_future/cons/constexpr.cc: New. * testsuite/30_threads/future/cons/constexpr.cc: New. Co-Authored-By: Jason Merrill <jason@redhat.com> Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com> From-SVN: r167099 |
||
Benjamin Kosnik
|
6684c44386 |
complex (operator==, !=): Mark constexpr.
2010-11-08 Benjamin Kosnik <bkoz@redhat.com> * include/std/complex (operator==, !=): Mark constexpr. * testsuite/26_numerics/complex/comparison_operators/constexpr.cc: New. From-SVN: r166439 |
||
Paolo Carlini
|
a9992f7f6b |
syntax_option_type.cc: Avoid -Wall warnings.
2010-11-02 Paolo Carlini <paolo.carlini@oracle.com * testsuite/28_regex/05_constants/syntax_option_type.cc: Avoid -Wall warnings. * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc: Likewise. * testsuite/18_support/numeric_limits/requirements/ constexpr_functions.cc: Likewise. * testsuite/18_support/numeric_limits/requirements/ constexpr_data.cc: Likewise. * testsuite/21_strings/char_traits/requirements/ constexpr_functions.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/requirements/ constexpr_functions.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ requirements/constexpr_functions.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ requirements/constexpr_data.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/requirements/ constexpr_functions.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/requirements/ constexpr_data.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ requirements/constexpr_functions.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ requirements/constexpr_data.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ requirements/constexpr_functions.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ requirements/constexpr_data.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/ requirements/constexpr_functions.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/ requirements/constexpr_data.cc: Likewise. * testsuite/26_numerics/complex/requirements/ constexpr_functions.cc: Likewise. * testsuite/23_containers/bitset/requirements/ constexpr_functions.cc: Likewise. * testsuite/23_containers/array/requirements/ constexpr_functions.cc: Likewise. * testsuite/util/testsuite_common_types.h: Likewise. * testsuite/20_util/duration/requirements/ constexpr_functions.cc: Likewise. * testsuite/20_util/duration_cast/constexpr.cc: Likewise. * testsuite/20_util/time_point/requirements/ constexpr_functions.cc: Likewise. * testsuite/20_util/ratio/requirements/constexpr_data.cc: Likewise. * testsuite/tr1/4_metaprogramming/integral_constant/ requirements/constexpr_data.cc: Remove. From-SVN: r166210 |
||
Benjamin Kosnik
|
94a86be0dd |
libstdc++: N3126 draft support.
* include/std/chrono: Extend constexpr application. * testsuite/util/testsuite_common_types.h (constexpr_default_constructible, constexpr_single_value_constructible) : Add comments about implied constraints. * testsuite/20_util/duration/cons/constexpr.cc: Activate all tests. * testsuite/20_util/time_point/cons/constexpr.cc: Same. * testsuite/20_util/time_point/requirements/constexpr_functions.cc: Same. * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust line numbers. * testsuite/20_util/time_point_cast/constexpr.cc: New. * include/std/bitset: Use __SIZEOF_* macros to re-create original logic instead of slipshod application of std::numeric_limits<T>::max() macros. * testsuite/util/testsuite_common_types.h (constexpr_default_constructible): Modify. * include/std/chrono: Tested constexpr. * testsuite/20_util/duration_cast/constexpr.cc: New. * testsuite/20_util/time_point/cons/constexpr.cc: New. * testsuite/20_util/duration/cons/constexpr.cc: Add single_value tests. * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust line numbers. * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same. * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same. * testsuite/20_util/time_point/cons/constexpr.cc: Add single_value tests. * testsuite/20_util/time_point/requirements/constexpr_functions.cc: Add. * testsuite/util/testsuite_common_types.h: Adjust init. * include/std/chrono (duration): Remove defaulted constructor, replace with mem-init list. * testsuite/20_util/duration/cons/constexpr.cc: Add single value. * testsuite/20_util/duration/requirements/constexpr_functions.cc: Add non-static member functions. * testsuite/20_util/default_delete/cons/constexpr.cc: New, xfail. * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Same. * testsuite/20_util/shared_ptr/cons/constexpr.cc: Same. * testsuite/20_util/time_point/requirements/constexpr_functions.cc: Same. * testsuite/20_util/unique_ptr/cons/constexpr.cc: Same. * testsuite/20_util/weak_ptr/cons/constexpr.cc: Same. * include/std/bitset: Add constexpr as per N3126 draft. * testsuite/23_containers/bitset/cons/constexpr.cc: New. * testsuite/23_containers/bitset/requirements/constexpr_functions.cc: New. * testsuite/util/testsuite_common_types.h: Reset condition. * include/bits/random.h: Remove misleading comments. * include/bits/regex.h: Add constexpr. * testsuite/28_regex/05_constants/syntax_option_type.cc: Add tests. * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc: New. PR libstdc++/46134 * include/std/chrono: Use default constructor. * testsuite/util/testsuite_common_types.h (constexpr_default_constructible): Adjust condition. PR libstdc++/46133 * include/std/complex: Adjust complex specialization default constructors for constexpr. * testsuite/26_numerics/complex/cons/constexpr.cc: Enable tests. * include/bits/random.h: Adjust for constexpr as per N3126 draft. * testsuite/26_numerics/random/discard_block_engine/requirements/ constexpr_data.cc: New. * testsuite/26_numerics/random/discard_block_engine/requirements/ constexpr_functions.cc: New. * testsuite/26_numerics/random/independent_bits_engine/requirements/ constexpr_functions.cc: New. * testsuite/26_numerics/random/linear_congruential_engine/requirements/ constexpr_data.cc: New. * testsuite/26_numerics/random/linear_congruential_engine/requirements/ constexpr_functions.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/requirements/ constexpr_data.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/requirements/ constexpr_functions.cc: New. * testsuite/26_numerics/random/shuffle_order_engine/requirements/ constexpr_data.cc: New. * testsuite/26_numerics/random/shuffle_order_engine/requirements/ constexpr_functions.cc: New. * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/ constexpr_data.cc: New. * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/ constexpr_functions.cc: New. * include/bits/stream_iterator.h: Add constexpr as per N3126 draft. * include/bits/streambuf_iterator.h: Same. * include/std/complex: Same. * testsuite/24_iterators/istream_iterator/cons/constexpr.cc: New. * testsuite/24_iterators/istreambuf_iterator/cons/constexpr.cc: New. * testsuite/26_numerics/complex/cons/constexpr.cc: New. * testsuite/26_numerics/complex/requirements/constexpr_functions.cc: New. * include/bits/char_traits.h: Add constexpr as per N3126 draft. * testsuite/21_strings/char_traits/requirements/constexpr_functions.cc: New. * include/tr1_impl/array: Add constexpr as per N3126 draft. * testsuite/23_containers/array/requirements/ constexpr_functions.cc: New. * include/bits/shared_ptr.h: Revert changes. * include/bits/unique_ptr.h: Same. * include/std/chrono: Adjust. * include/tr1_impl/type_traits: Same. * testsuite/util/testsuite_common_types.h: Add test functors. * testsuite/20_util/duration/cons/constexpr.cc: New. * testsuite/20_util/duration/requirements/constexpr_functions.cc: Same. * testsuite/20_util/pair/cons/constexpr.cc: Same. * testsuite/20_util/ratio/requirements/constexpr_data.cc: Same. * testsuite/27_io/ios_base/types/fmtflags/constexpr_operators.cc: Same. * testsuite/27_io/ios_base/types/iostate/constexpr_operators.cc: Same. * testsuite/27_io/ios_base/types/openmode/constexpr_operators.cc: Same. * testsuite/30_threads/call_once/constexpr.cc: Same. * testsuite/30_threads/mutex/cons/constexpr.cc: Same. * testsuite/30_threads/once_flag/cons/constexpr.cc: Same. * testsuite/tr1/4_metaprogramming/integral_constant/requirements/ constexpr_data.cc: Same. * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers. * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same. * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same. * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same. * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Same. * include/bits/allocator.h: Add constexpr as per N3126 draft. * include/bits/ios_base.h: Same. * include/bits/shared_ptr.h: Same. * include/bits/unique_ptr.h: Same. * include/bits/stl_iterator.h: Same. * include/bits/stl_pair.h: Same. * include/std/tuple: Same. * include/tr1_impl/type_traits: Same. * include/std/chrono: Same. * include/std/ratio: Same. * include/std/mutex: Same. * src/mutex.cc: Same. * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust. * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same. * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same. * testsuite/27_io/ios_base/cons/assign_neg.cc: Same. * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. * doc/doxygen/user.cfg.in: Replace _GLIBCXX_USE_CONSTEXPR, _GLIBCXX_CONSTEXPR for doxygen generation. * src/limits.cc: Undef. * testsuite/29_atomics/atomic/cons/constexpr.cc: Adjust. * testsuite/29_atomics/atomic_address/cons/constexpr.cc: Same. * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same. * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.c: Same. * testsuite/18_support/numeric_limits/constexpr.cc: To... * testsuite/18_support/numeric_limits/requirements/ constexpr_data.cc, constexpr_functions.cc: ...this * testsuite/util/testsuite_common_types.h (constexpr_single_value_constructible): Add. * testsuite/29_atomics/atomic/cons/constexpr.cc: Adjust name. * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same. * testsuite/29_atomics/atomic_address/cons/constexpr.cc: New. * testsuite/18_support/numeric_limits/constexpr.cc: New. * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers. * testsuite/29_atomics/atomic/cons/constexpr.cc: Same. * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same. * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same. * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same. * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same. * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Same. * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: Same. * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: Same. * include/bits/c++config (_GLIBCXX_CONSTEXPR): Add. (_GLIBCXX_USE_CONSTEXPR): Add. * include/std/limits: Use it. * src/limits.cc: Adjust. * testsuite/ext/profile/mutex_extensions.cc: Change line number. * include/bits/atomic_0.h: Rework for N3126 draft, add constexpr. * include/bits/atomic_2.h: Same. * include/bits/atomic_base.h: Same. * include/std/atomic: Same. * src/atomic.cc: Same. * include/bits/atomicfwd_c.h: Remove. * include/bits/atomicfwd_cxx.h: Remove. * include/c_compatibility/stdatomic.h: Remove. * include/Makefile.am: Remove atomicfwd_c.h, atomicfwd_cxx.h, stdatomic.h. * include/Makefile.in: Regenerate. * doc/xml/manual/using.xml: Update list of header files for changes. * testsuite/util/testsuite_common_types.h (constexpr_constructible): Add. * testsuite/29_atomics/atomic/cons/constexpr.cc: New. * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: New. * testsuite/17_intro/headers/c++200x/stdc++.cc: Modify. * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same. * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same. * testsuite/29_atomics/atomic_flag/cons/1.cc: Same. * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same. * testsuite/29_atomics/headers/atomic/macros.cc: Same. * testsuite/29_atomics/headers/atomic/types_std_c++0x.cc: Same. * testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc: Same. * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Remove. * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same. * testsuite/29_atomics/atomic_flag/clear/1.c: Same. * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: Same. * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same. * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same. * testsuite/29_atomics/headers/stdatomic.h/types.c: Same. * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16. From-SVN: r166171 |
||
Paolo Carlini
|
879b9073c8 |
random.h (discrete_distribution<>::param_type:: param_type()): Default construct the vectors.
2010-10-13 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.h (discrete_distribution<>::param_type:: param_type()): Default construct the vectors. (discrete_distribution<>::param_type::probabilities): Adjust. (discrete_distribution<>::probabilities): Likewise. (discrete_distribution<>::max): Likewise. (piecewise_constant_distribution<>::param_type:: param_type()): Default construct the vectors. (piecewise_constant_distribution<>::param_type::intervals): Adjust. (piecewise_constant_distribution<>::param_type::densities): Likewise. (piecewise_constant_distribution<>::intervals): Likewise. (piecewise_constant_distribution<>::densities): Likewise. (piecewise_constant_distribution<>::min): Likewise. (piecewise_constant_distribution<>::max): Likewise. (piecewise_linear_distribution<>::param_type:: param_type()): Default construct the vectors. (piecewise_linear_distribution<>::param_type::intervals): Adjust. (piecewise_linear_distribution<>::param_type::densities): Likewise. (piecewise_linear_distribution<>::intervals): Likewise. (piecewise_linear_distribution<>::densities): Likewise. (piecewise_linear_distribution<>::min): Likewise. (piecewise_linear_distribution<>::max): Likewise. * include/bits/random.tcc (discrete_distribution<>::param_type:: _M_initialize): Deal quickly with raw _M_prob equivalent to a default constructed param_type, just clear the vector. (discrete_distribution<>::operator()): Early return 0 for a default constructed distribution. (piecewise_constant_distribution<>::param_type::_M_initialize): Likewise for _M_int and _M_den. (piecewise_constant_distribution<>::operator()): Early return for a default constructed distribution. (piecewise_linear_distribution<>::param_type::_M_initialize): Likewise. (piecewise_linear_distribution<>::operator()): Early return for a default constructed distribution. * testsuite/26_numerics/random/discrete_distribution/operators/ call-default.cc: New. * testsuite/26_numerics/random/piecewise_constant_distribution/ operators/call-default.cc: Likewise. From-SVN: r165427 |
||
Paolo Carlini
|
d3a7350497 |
random.tcc (piecewise_linear_distribution<>:: operator()): Don't crash when the dist is default-constructed.
2010-10-12 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.tcc (piecewise_linear_distribution<>:: operator()): Don't crash when the dist is default-constructed. * testsuite/26_numerics/random/piecewise_linear_distribution/ operators/call-default.cc: New. From-SVN: r165379 |
||
Paolo Carlini
|
77fd1c1d44 |
cmath: Implement US 136.
2010-08-08 Paolo Carlini <paolo.carlini@oracle.com> * include/c_global/cmath: Implement US 136. * include/tr1_impl/cmath: Do not bring fpclassify, etc from namespace std, define namespace tr1. * testsuite/26_numerics/headers/cmath/ c99_classification_macros_c++0x.cc: New. From-SVN: r162995 |
||
Paolo Carlini
|
f67a9881a8 |
[multiple changes]
2010-07-27 Paolo Carlini <paolo.carlini@oracle.com> * include/ext/vstring_util.h: Include bits/range_access.h. * testsuite/ext/vstring/range_access.cc: New test. 2010-07-27 Ed Smith-Rowland <3dw4rd@verizon.net> * include/bits/range_access.h: New. * include/Makefile.in: Add bits/range_access.h. * include/Makefile.am: Regenerate. * include/std/array: Include bits/range_access.h. * include/std/deque: Ditto. * include/std/forward_list: Ditto. * include/std/iterator: Ditto. * include/std/list: Ditto. * include/std/map: Ditto. * include/std/regex: Ditto. * include/std/set: Ditto. * include/std/string: Ditto. * include/std/unordered_map: Ditto. * include/std/unordered_set: Ditto. * include/std/vector: Ditto. * include/std/valarray: Add begin() and end(). * libsupc++/initializer_list: Ditto. * include/tr1_impl/utility: Add begin() and end(). * include/std/tuple: Ditto. * testsuite/24_iterators/headers/iterator/range_access.cc: New test. * testsuite/24_iterators/range_access.cc: Ditto. * testsuite/28_regex/range_access.cc: Ditto. * testsuite/18_support/initializer_list/range_access.cc: Ditto. * testsuite/21_strings/basic_string/range_access.cc: Ditto. * testsuite/26_numerics/valarray/range_access.cc: Ditto. * testsuite/23_containers/unordered_map/range_access.cc: Ditto. * testsuite/23_containers/multimap/range_access.cc: Ditto. * testsuite/23_containers/set/range_access.cc: Ditto. * testsuite/23_containers/unordered_multimap/range_access.cc: Ditto. * testsuite/23_containers/forward_list/range_access.cc: Ditto. * testsuite/23_containers/unordered_set/range_access.cc: Ditto. * testsuite/23_containers/vector/range_access.cc: Ditto. * testsuite/23_containers/deque/range_access.cc: Ditto. * testsuite/23_containers/multiset/range_access.cc: Ditto. * testsuite/23_containers/list/range_access.cc: Ditto. * testsuite/23_containers/unordered_multiset/range_access.cc: Ditto. * testsuite/23_containers/map/range_access.cc: Ditto. * testsuite/23_containers/array/range_access.cc: Ditto. * testsuite/20_util/tuple/range_access.cc: Ditto. * testsuite/20_util/pair/range_access.cc: Ditto. From-SVN: r162578 |
||
Rainer Orth
|
babc472831 |
sol2.h (TARGET_OS_CPP_BUILTINS): Define __STDC_VERSION__=199901L, _XOPEN_SOURCE=600 for C++.
gcc: * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __STDC_VERSION__=199901L, _XOPEN_SOURCE=600 for C++. fixincludes: * inclhack.def (solaris__restrict, solaris_complex_cxx): New fixes * fixincl.x: Regenerate. * tests/base/complex.h [SOLARIS_COMPLEX_CXX_CHECK]: New test. * tests/base/sys/feature_tests.h: New file. libstdc++-v3: * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: Add *-*-solaris2.1[0-9]* to dg-xfail-if, dg-excess-errors. From-SVN: r161089 |
||
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 |
||
Paolo Carlini
|
567d4027a3 |
order_statistics_imp.hpp: Avoid -Wall warnings.
2010-06-07 Paolo Carlini <paolo.carlini@oracle.com> * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Avoid -Wall warnings. * testsuite/27_io/ios_base/failure/what-3.cc: Likewise. * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostringstream/str/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise. * testsuite/27_io/types/2.cc: Likewise. * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise. * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise. * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/ws/char/1.cc: Likewise. * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/ wchar_t/01.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/ 01.cc: Likewise. * testsuite/27_io/fpos/mbstate_t/4_neg.cc: Likewise. * testsuite/27_io/fpos/mbstate_t/2.cc: Likewise. * testsuite/27_io/fpos/mbstate_t/3.cc: Likewise. * testsuite/27_io/fpos/mbstate_t/5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/ 4.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Likewise. * testsuite/25_algorithms/minmax/3.cc: Likewise. * testsuite/19_diagnostics/logic_error/what-3.cc: Likewise. * testsuite/19_diagnostics/runtime_error/what-3.cc: Likewise. * testsuite/19_diagnostics/system_error/what-3.cc: Likewise. * testsuite/24_iterators/front_insert_iterator/2.cc: Likewise. * testsuite/24_iterators/back_insert_iterator/2.cc: Likewise. * testsuite/24_iterators/insert_iterator/2.cc: Likewise. * testsuite/18_support/exception_ptr/make_exception_ptr.cc: Likewise. * testsuite/21_strings/c_strings/wchar_t/1.cc: Likewise. * testsuite/21_strings/c_strings/wchar_t/2.cc: Likewise. * testsuite/21_strings/c_strings/char/1.cc: Likewise. * testsuite/21_strings/c_strings/char/2.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ cons/copy.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ requirements/constants.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/ cons/copy.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ cons/copy.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ requirements/constants.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ cons/copy.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ requirements/constants.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/ cons/copy.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/ requirements/constants.cc: Likewise. * testsuite/26_numerics/complex/complex_value.cc: Likewise. * testsuite/26_numerics/headers/cmath/overloads.cc: Likewise. * testsuite/26_numerics/headers/cmath/ c99_classification_macros_c++.cc: Likewise. * testsuite/26_numerics/slice_array/array_assignment.cc: Likewise. * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise. * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise. * testsuite/22_locale/money_put/put/char/1.cc: Likewise. * testsuite/22_locale/money_put/put/char/2.cc: Likewise. * testsuite/22_locale/money_put/put/char/3.cc: Likewise. * testsuite/22_locale/money_put/put/char/12971.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise. * testsuite/22_locale/time_put/put/char/1.cc: Likewise. * testsuite/22_locale/time_put/put/char/2.cc: Likewise. * testsuite/22_locale/time_put/put/char/3.cc: Likewise. * testsuite/22_locale/time_put/put/char/4.cc: Likewise. * testsuite/22_locale/time_put/put/char/5.cc: Likewise. * testsuite/22_locale/time_put/put/char/6.cc: Likewise. * testsuite/22_locale/time_put/put/char/7.cc: Likewise. * testsuite/22_locale/time_put/put/char/8.cc: Likewise. * testsuite/22_locale/time_put/put/char/17038.cc: Likewise. * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise. * testsuite/22_locale/num_put/put/char/1.cc: Likewise. * testsuite/22_locale/time_get/get_year/wchar_t/5.cc: Likewise. * testsuite/22_locale/time_get/get_year/char/5.cc: Likewise. * testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc: Likewise. * testsuite/22_locale/time_get/get_monthname/char/5.cc: Likewise. * testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc: Likewise. * testsuite/22_locale/time_get/get_weekday/char/5.cc: Likewise. * testsuite/22_locale/time_get/get_date/wchar_t/5.cc: Likewise. * testsuite/22_locale/time_get/get_date/char/5.cc: Likewise. * testsuite/22_locale/time_get/get_time/wchar_t/5.cc: Likewise. * testsuite/22_locale/time_get/get_time/char/5.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise. * testsuite/22_locale/num_get/get/char/1.cc: Likewise. * testsuite/22_locale/moneypunct/members/wchar_t/1.cc: Likewise. * testsuite/22_locale/moneypunct/members/char/1.cc: Likewise. * testsuite/22_locale/ctype_base/mask.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry/requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry_01/requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ discard_block/requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ linear_congruential/requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ mersenne_twister/requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ xor_combine/requirements/constants.cc: Likewise. * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Likewise. * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise. * testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Likewise. * testsuite/tr1/8_c_compatibility/cstdio/functions.cc: Likewise. * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Likewise. * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Likewise. * testsuite/tr1/8_c_compatibility/cmath/templates.cc: Likewise. * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Likewise. * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise. * testsuite/tr1/6_containers/utility/pair.cc: Likewise. * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Likewise. * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Likewise. * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise. * testsuite/29_atomics/atomic_integral/operators/ increment_neg.cc: Likewise. * testsuite/29_atomics/atomic_integral/operators/ bitwise_neg.cc: Likewise. * testsuite/29_atomics/atomic_integral/operators/ decrement_neg.cc: Likewise. * testsuite/29_atomics/atomic_flag/cons/1.cc: Likewise. * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise. * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise. * testsuite/23_containers/priority_queue/members/7161.cc * testsuite/23_containers/set/dr130.cc: Likewise. * testsuite/23_containers/list/pthread5.cc: Likewise. * testsuite/23_containers/map/dr130.cc: Likewise. * testsuite/util/exception/safety.h: Likewise. * testsuite/util/testsuite_common_types.h: Likewise. * testsuite/20_util/clocks/1.cc: Likewise. From-SVN: r160416 |
||
John David Anglin
|
6d7f49cd78 |
re PR target/43458 (c99_classification_macros_c.cc fails on hppa*-*-hpux*)
PR target/43458 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: Xfail hppa*-*-hpux*. From-SVN: r157806 |
||
Paolo Carlini
|
fc05e1ba76 |
random.h (operator==(const uniform_int_distribution<>&, const uniform_int_distribution<>&), [...]): Add, likewise for operator!=.
2010-03-16 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.h (operator==(const uniform_int_distribution<>&, const uniform_int_distribution<>&), operator==(const uniform_real_distribution<>&, const uniform_real_distribution<>&), operator==(const lognormal_distribution<>&, const lognormal_distribution<>&), operator==(const chi_squared_distribution<>&, const chi_squared_distribution<>&), operator==(const cauchy_distribution<>&, const cauchy_distribution<>&), operator==(const fisher_distribution<>&, const fisher_distribution<>&), operator==(const student_t_distribution<>&, const student_t_distribution<>&), operator==(const bernoulli_distribution<>&, const bernoulli_distribution<>&), operator==(const binomial_distribution<>&, const binomial_distribution<>&), operator==(const geometric_distribution<>&, const geometric_distribution<>&), operator==(const negative_binomial_distribution<>&, const negative_binomial_distribution<>&), operator==(const poisson_distribution<>&, const poisson_distribution<>&), operator==(const exponential_distribution<>&, const exponential_distribution<>&), operator==(const gamma_distribution<>&, const gamma_distribution<>&), operator==(const weibull_distribution<>&, const weibull_distribution<>&), operator==(const extreme_value_distribution<>&, const extreme_value_distribution<>&), operator==(const discrete_distribution<>&, const discrete_distribution<>&), operator==(const piecewise_constant_distribution<>&, const piecewise_constant_distribution<>&), operator==(const piecewise_linear_distribution<>&, const piecewise_linear_distribution<>&)): Add, likewise for operator!=. (operator!=(const independent_bits_engine<>&, const independent_bits_engine<>&), operator!=(const subtract_with_carry_engine<>&, const subtract_with_carry_engine<>&), operator!=(const discard_block_engine<>&, const discard_block_engine<>&), operator!=(const mersenne_twister_engine<>&, const mersenne_twister_engine<>&), operator!=(const linear_congruential_engine<>&, const linear_congruential_engine<>&), operator!=(const shuffle_order_engine<>&, const shuffle_order_engine<>&): Add. * include/bits/random.tcc (operator==(const normal_distribution<>&, const normal_distribution<>&)): Add. * testsuite/26_numerics/random/uniform_real_distribution/operators/ inequal.cc: New. * testsuite/26_numerics/random/uniform_real_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/piecewise_constant_distribution/ operators/inequal.cc: Likewise. * testsuite/26_numerics/random/piecewise_constant_distribution/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/bernoulli_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/bernoulli_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/cauchy_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/cauchy_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ operators/inequal.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ operators/inequal.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/student_t_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/student_t_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/operators/ equal.cc: Likewise. From-SVN: r157489 |
||
Paolo Carlini
|
681f05d4f0 |
complex (proj): Change return type per DR 1137.
2010-02-21 Paolo Carlini <paolo.carlini@oracle.com> * include/std/complex (proj): Change return type per DR 1137. (conj): Copy from tr1_impl, likewise adjust return type. * include/tr1_impl/complex (conj): Remove. * include/tr1/complex (conj): Add both overloads. * testsuite/26_numerics/complex/dr781.cc: Rename to... * testsuite/26_numerics/complex/dr781_dr1137.cc: ... this, and extend. * include/tr1_impl/complex (arg): Optimize. From-SVN: r156940 |
||
Paolo Carlini
|
05eeebfe49 |
random.h (linear_congruential_engine(_Sseq&), [...]): Do not enable for the type itself.
2010-02-16 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.h (linear_congruential_engine(_Sseq&), mersenne_twister_engine(_Sseq&), subtract_with_carry_engine(_Sseq&)): Do not enable for the type itself. (discard_block_engine(_Sseq&), independent_bits_engine(_Sseq&), shuffle_order_engine(_Sseq&)): Do not enable for the type itself too. (linear_congruential_engine<>::seed(_Sseq&), mersenne_twister_engine<>::seed(_Sseq&), subtract_with_carry_engine<>::seed(_Sseq&)): Use enable_if on the return type. (discard_block_engine<>::seed(_Sseq&), independent_bits_engine<>::seed(_Sseq&), shuffle_order_engine<>::seed(_Sseq&)): Do not use enable_if. * include/bits/random.tcc: Adjust definitions. * testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc: New. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ base_move.cc: Minor tweaks. * testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ base_copy.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed1.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed2.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/default.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ seed1.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ seed2.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc: Likewise. From-SVN: r156815 |
||
Paolo Carlini
|
15ecdcc6fc |
re PR libstdc++/42408 (Missing templatized seed())
2010-02-01 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/42408 * include/bits/random.h (linear_congruential_engine<>:: linear_congruential_engine(seed_seq&), linear_congruential_engine<>::seed(seed_seq&), mersenne_twister<>::mersenne_twister(seed_seq&), mersenne_twister<>::seed(seed_seq&), subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&), subtract_with_carry_engine<>::seed(seed_seq&), discard_block_engine<>::discard_block_engine(seed_seq&), discard_block_engine<>::seed(seed_seq&), independent_bits_engine<>::independent_bits_engine(seed_seq&), independent_bits_engine<>::seed(seed_seq&), shuffle_order_engine<>::shuffle_order_engine(seed_seq&), shuffle_order_engine<>::seed(seed_seq&)): Templatize. * include/bits/random.tcc: Adjust. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed_seq.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ cons/seed_seq.cc: Likewise. From-SVN: r156430 |
||
Paolo Carlini
|
8c0b91b4ce |
21674.cc: Extend xfail to all systems.
2010-01-28 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/21_strings/basic_string/element_access/char/21674.cc: Extend xfail to all systems. * testsuite/21_strings/basic_string/element_access/wchar_T/21674.cc: Likewise. * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: Extend xfail to darwin10 systems. From-SVN: r156326 |
||
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
|
ab1c1187c3 |
list: Implement DR 1133 here too.
2010-01-03 Paolo Carlini <paolo.carlini@oracle.com> * include/profile/list: Implement DR 1133 here too. * testsuite/25_algorithms/set_intersection/34730.cc: Do not force debug-mode, leads to spurious failures in profile-mode. * testsuite/25_algorithms/upper_bound/33613.cc: Likewise. * testsuite/25_algorithms/lower_bound/33613.cc: Likewise. * testsuite/25_algorithms/set_difference/35541.cc: Likewise. * testsuite/21_strings/basic_string/40160.cc: Likewise. * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: Likewise. * testsuite/23_containers/multimap/14340.cc: Likewise. * testsuite/23_containers/bitset/18604.cc: Likewise. * testsuite/23_containers/set/14340.cc: Likewise. * testsuite/23_containers/set/18604.cc: Likewise. * testsuite/23_containers/unordered_set/requirements/ debug_mode.cc: Likewise. * testsuite/23_containers/vector/ debug_mode_requires_reallocation-1.cc: Likewise. * testsuite/23_containers/vector/ debug_mode_requires_reallocation-2.cc: Likewise. * testsuite/23_containers/vector/14340.cc: Likewise. * testsuite/23_containers/vector/15523.cc: Likewise. * testsuite/23_containers/vector/18604.cc: Likewise. * testsuite/23_containers/deque/14340.cc: Likewise. * testsuite/23_containers/deque/18604.cc: Likewise. * testsuite/23_containers/multiset/14340.cc: Likewise. * testsuite/23_containers/list/operations/35969.cc: Likewise. * testsuite/23_containers/list/14340.cc: Likewise. * testsuite/23_containers/list/18604.cc: Likewise. * testsuite/23_containers/map/14340.cc: Likewise. * testsuite/23_containers/map/18604.cc: Likewise. * testsuite/26_numerics/random/uniform_real_distribution/ cons/parms_neg.cc: Remove, isn't testing anything. * testsuite/26_numerics/random/uniform_int_distribution/ cons/parms_neg.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/uniform_int/ cons/range_neg.cc: Likewise. * testsuite/23_containers/unordered_map/requirements/ explicit_instantiation/2.cc: Do not instantiate for non-defaultconstructible mapped_type. From-SVN: r155603 |
||
Paolo Carlini
|
77e3c51603 |
random.h (class linear_congruential_engine, [...]): Do not use simulated concept checks...
2009-10-12 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.h (class linear_congruential_engine, class mersenne_twister_engine, class subtract_with_carry_engine, class discard_block_engine, class independent_bits_engine, class shuffle_order_engine, class uniform_int_distribution, class binomial_distribution, class geometric_distribution, class negative_binomial_distribution, class poisson_distribution, class discrete_distribution): Do not use simulated concept checks, tidy startic_asserts on argument types and ranges. (class uniform_real_distribution, class normal_distribution, class lognormal_distribution, class gamma_distribution, class chi_squared_distribution, class cauchy_distribution, class fisher_f_distribution, class student_t_distribution, class exponential_distribution, class weibull_distribution, class extreme_value_distribution, class piecewise_linear_distribution, class piecewise_constant_distribution): Add static_assert on template argument type. * include/std/random: Do not include <bits/concept_check.h>. * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc: Fix. * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/default.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/requirements/ typedefs.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ requirements/non_uint_neg.cc: Tweak. From-SVN: r152682 |
||
Paolo Carlini
|
300ea2831b |
random.tcc: Define static const data members.
2009-09-29 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.tcc: Define static const data members. * include/tr1/random.tcc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ requirements/constants.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/ requirements/constants.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ requirements/constants.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/requirements/ constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/ requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry_01/requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/discard_block/ requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/linear_congruential/ requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/ requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ requirements/constants.cc: Likewise. From-SVN: r152317 |
||
Uros Bizjak
|
d35c8bb593 |
denorm_min.cc: Use dg-add-options ieee.
* testsuite/18_support/numeric_limits/denorm_min.cc: Use dg-add-options ieee. * testsuite/18_support/numeric_limits/digits10.cc: Likewise. * testsuite/18_support/numeric_limits/epsilon.cc: Likewise. * testsuite/18_support/numeric_limits/infinity.cc: Likewise. * testsuite/18_support/numeric_limits/is_iec559.cc: Likewise. * testsuite/18_support/numeric_limits/is_signed.cc: Likewise. * testsuite/18_support/numeric_limits/min_max.cc: Likewise. * testsuite/18_support/numeric_limits/quiet_NaN.cc: Likewise. * testsuite/18_support/numeric_limits/ specialization_default_values.cc: Likewise. * testsuite/18_support/numeric_limits/traps.cc: Likewise. * testsuite/26_numerics/complex/pow.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 03_beta/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 12_ellint_1/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 13_ellint_2/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 14_ellint_3/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 15_expint/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 16_hermite/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 17_hyperg/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 18_laguerre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 19_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/check_nan.cc: Likewise. Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org> From-SVN: r151251 |
||
Edward Smith-Rowland
|
e192376912 |
re PR libstdc++/41061 (Compile of program using std random fails.)
2009-08-14 Edward Smith-Rowland <3dw4rd@verizon.net> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/41061 * include/bits/random.h (operator<<(std::basic_ostream<>&, const std::lognormal_distribution<>&), operator>>(std::basic_istream<>&, std::lognormal_distribution<>&), operator<<(std::basic_ostream<>&, const std::gamma_distribution<>&), operator>>(std::basic_istream<>&, std::gamma_distribution<>&), operator<<(std::basic_ostream<>&, const std::chi_squared_distribution<>&), operator>>(std::basic_istream<>&, std::chi_squared_distribution<>&), operator<<(std::basic_ostream<>&, const std::fisher_f_distribution<>&), operator>>(std::basic_istream<>&, std::fisher_f_distribution<>&), operator<<(std::basic_ostream<>&, const std::student_t_distribution<>&), operator>>(std::basic_istream<>&, std::student_t_distribution<>&), operator<<(std::basic_ostream<>&, const std::negative_binomial_distribution<>&)): Declare friend. * testsuite/26_numerics/random/uniform_real_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/piecewise_constant_distribution/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/bernoulli_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/cauchy_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ operators/serialize.cc * testsuite/26_numerics/random/student_t_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/operators/ serialize.cc: Likewise. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r150783 |
||
Paolo Carlini
|
453def3ea1 |
PR libstdc++/40912 (final)
2009-08-02 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/40912 (final) * testsuite/26_numerics/random/mt19937.cc: dg-require-cstdint. * testsuite/26_numerics/random/uniform_real_distribution/cons/ parms_neg.cc: Likewise. * testsuite/26_numerics/random/uniform_real_distribution/cons/ parms.cc: Likewise. * testsuite/26_numerics/random/uniform_real_distribution/cons/ default.cc: Likewise. * testsuite/26_numerics/random/uniform_real_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/piecewise_constant_distribution/ cons/range.cc: Likewise. * testsuite/26_numerics/random/piecewise_constant_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/piecewise_constant_distribution/ cons/num_xbound_fun.cc: Likewise. * testsuite/26_numerics/random/piecewise_constant_distribution/ cons/initlist_fun.cc: Likewise. * testsuite/26_numerics/random/piecewise_constant_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/minstd_rand.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/cons/ parms.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/cons/ default.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/seed_seq/cons/ range.cc: Likewise. * testsuite/26_numerics/random/seed_seq/cons/ initlist.cc: Likewise. * testsuite/26_numerics/random/seed_seq/cons/ default.cc: Likewise. * testsuite/26_numerics/random/seed_seq/requirements/ typedefs.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/ cons/parms_neg.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/cons/ parms.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/cons/ default.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/bernoulli_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/bernoulli_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/bernoulli_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/ranlux24_base.cc: Likewise. * testsuite/26_numerics/random/ default_random_engine.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/ cons/range.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/ cons/initlist.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/ cons/num_xbound_fun.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ cons/base_move.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ cons/seed1.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ cons/seed2.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ cons/base_copy.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ cons/default.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ cons/seed_seq.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/ranlux48_base.cc: Likewise. * testsuite/26_numerics/random/minstd_rand0.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ cons/seed1.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ cons/seed2.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ cons/default.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/ base_move.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/ seed1.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/ seed2.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/ base_copy.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/cauchy_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/cauchy_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/cauchy_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ cons/seed1.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ cons/seed2.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ cons/default.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/mt19937_64.cc: Likewise. * testsuite/26_numerics/random/random_device/cons/ token.cc: Likewise. * testsuite/26_numerics/random/random_device/cons/ default.cc: Likewise. * testsuite/26_numerics/random/random_device/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/ranlux24.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ cons/range.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ cons/num_xbound_fun.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ cons/initlist_fun.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/student_t_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/student_t_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/student_t_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ cons/seed1.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ cons/seed2.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ cons/default.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ requirements/non_uint_neg.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/ranlux48.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/ base_move.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/ seed1.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/ seed2.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/ base_copy.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/ cons/parms.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/ cons/default.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/knuth_b.cc: Likewise. From-SVN: r150361 |
||
John David Anglin
|
930e51379c |
re PR libstdc++/40919 (FAIL: 26_numerics/headers/cmath/c99_classification_macros_c.cc)
PR libstdc++/40919 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: xfail on darwin[3-9]*. From-SVN: r150278 |
||
Paolo Carlini
|
fcbaa582da |
dr630-2.cc: Extend.
2009-07-24 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/26_numerics/valarray/dr630-2.cc: Extend. From-SVN: r150060 |
||
Paolo Carlini
|
7cf8aefccf |
cmath (abs(_Tp)): Add.
2009-07-23 Paolo Carlini <paolo.carlini@oracle.com> * include/c_std/cmath (abs(_Tp)): Add. * include/c_global/cmath (abs(_Tp)): Likewise. * testsuite/26_numerics/headers/cmath/overloads.cc: Extend. From-SVN: r150022 |
||
Paolo Carlini
|
af4beb4b95 |
valarray (valarray<>::operator=(const valarray<>&), [...]): Implement resolution of DR 630, [Ready] in Frankfurt.
2009-07-22 Paolo Carlini <paolo.carlini@oracle.com> * include/std/valarray (valarray<>::operator=(const valarray<>&), valarray<>::operator=(initializer_list<>)): Implement resolution of DR 630, [Ready] in Frankfurt. * testsuite/26_numerics/valarray/dr630-1.cc: New. * testsuite/26_numerics/valarray/dr630-2.cc: Likewise. * doc/xml/manual/intro.xml: Add an entry for DR 630. From-SVN: r149929 |
||
Janis Johnson
|
23862bec3e |
re PR libstdc++/40691 (bug in logical not operator for valarray used with slice)
PR libstdc++/40691 * include/bugs/valarray-after.h (_Expr::operator!): Fix return type. * testsuite/26_numerics/valarray/40691.cc: New test. From-SVN: r149393 |
||
Paolo Carlini
|
9b88236b34 |
random.h (_Adaptor): Simplify for _DInputType always a floating point type.
2009-06-19 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.h (_Adaptor): Simplify for _DInputType always a floating point type. (uniform_int_distribution<>::uniform_int_distribution(_IntType, _IntType)): Fix second default argument. (uniform_int_distribution<>::_M_call): Remove. (uniform_int_distribution<>::operator()(_UniformRandomNumberGenerator&, const param_type&)): Only declare. * include/bits/random.tcc (uniform_int_distribution<>::_M_call( _UniformRandomNumberGenerator&, result_type, result_type, true_type): Remove. uniform_int_distribution<>::operator()(_UniformRandomNumberGenerator&, const param_type&): Define here. (geometric_distribution<>::operator()(_UniformRandomNumberGenerator&, const param_type&), discrete_distribution<>::operator() (_UniformRandomNumberGenerator&, const param_type&), piecewise_constant_distribution<>::operator() (_UniformRandomNumberGenerator&, const param_type&), piecewise_linear_distribution<>::operator() (_UniformRandomNumberGenerator&, const param_type&)): Use double as the second template argument of _Adaptor. * testsuite/26_numerics/random/uniform_int_distribution/cons/ default.cc: Adjust. From-SVN: r148720 |
||
Paolo Carlini
|
934432b66c |
num_xbound_fun.cc: Minor tweaks.
2009-05-15 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/26_numerics/random/discrete_distribution/cons/ num_xbound_fun.cc: Minor tweaks. * testsuite/26_numerics/random/piecewise_constant_distribution/ cons/initlist_fun.cc: Likewise * testsuite/26_numerics/random/piecewise_constant_distribution/ cons/num_xbound_fun.cc: Likewise * testsuite/26_numerics/random/piecewise_linear_distribution/ cons/initlist_fun.cc: Likewise * testsuite/26_numerics/random/piecewise_linear_distribution/ cons/num_xbound_fun.cc: Likewise From-SVN: r147567 |
||
David Billinghurst
|
d05db9ccfa |
num_xbound_fun.cc: Replace non-standard macro M_PI with constant pi.
2009-05-15 David Billinghurst <billingd@gcc.gnu.org> * testsuite/26_numerics/random/discrete_distribution/cons/num_xbound_fun.cc: Replace non-standard macro M_PI with constant pi. * testsuite/26_numerics/random/piecewise_constant_distribution/cons/initlist_fun.cc: Likewise * testsuite/26_numerics/random/piecewise_constant_distribution/cons/num_xbound_fun.cc: Likewise * testsuite/26_numerics/random/piecewise_linear_distribution/cons/initlist_fun.cc: Likewise * testsuite/26_numerics/random/piecewise_linear_distribution/cons/num_xbound_fun.cc: Likewise From-SVN: r147564 |
||
Paolo Carlini
|
96a9203b1c |
PR libstdc++/39629 (final bits)
2009-04-09 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/39629 (final bits) * include/bits/random.h (subtract_with_carry_engine<>::_S_modulus): Remove, consistently use __detail::_Shift<_UIntType, __w>::__value. * include/bits/random.tcc (shuffle_order_engine<>::operator()()): Fix formula for __j. * include/bits/random.tcc (operator==(const normal_distribution<>&, const normal_distribution<>&): Remove. * include/bits/random.h (operator==(const uniform_int_distribution<>&, const uniform_int_distribution<>&), operator==(const uniform_real_distribution<>&, const uniform_real_distribution<>&), operator==(const normal_distribution<>&, const normal_distribution<>&), operator==(const lognormal_distribution<>&, const lognormal_distribution<>&), operator==(const chi_squared_distribution<>&, const chi_squared_distribution<>&), operator==(const cauchy_distribution<>&, const cauchy_distribution<>&), operator==(const fisher_distribution<>&, const fisher_distribution<>&), operator==(const student_t_distribution<>&, const student_t_distribution<>&), operator==(const bernoulli_distribution<>&, const bernoulli_distribution<>&), operator==(const binomial_distribution<>&, const binomial_distribution<>&), operator==(const geometric_distribution<>&, const geometric_distribution<>&), operator==(const negative_binomial_distribution<>&, const negative_binomial_distribution<>&), operator==(const poisson_distribution<>&, const poisson_distribution<>&), operator==(const exponential_distribution<>&, const exponential_distribution<>&), operator==(const gamma_distribution<>&, const gamma_distribution<>&), operator==(const weibull_distribution<>&, const weibull_distribution<>&), operator==(const extreme_value_distribution<>&, const extreme_value_distribution<>&), operator==(const discrete_distribution<>&, const discrete_distribution<>&), operator==(const piecewise_constant_distribution<>&, const piecewise_constant_distribution<>&), operator==(const piecewise_linear_distribution<>&, const piecewise_linear_distribution<>&)): Remove. * testsuite/26_numerics/random/uniform_real_distribution/operators/ serialize.cc: Remove. * testsuite/26_numerics/random/piecewise_constant_distribution/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/bernoulli_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/cauchy_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/student_t_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/operators/ serialize.cc: Likewise. * include/bits/random.h (linear_congruential_engine<>::seed(_Gen&, true_type), linear_congruential_engine<>::seed(_Gen&, false_type), mersenne_twister_engine<>::seed(_Gen&, true_type), mersenne_twister_engine<>::seed(_Gen&, false_type), subtract_with_carry_engine<>::seed(_Gen&, true_type), subtract_with_carry_engine<>::seed(_Gen&, false_type)): Remove, unused. * include/bits/random.tcc (linear_congruential_engine<>:: seed(_Gen&, false_type): Likewise. From-SVN: r145867 |
||
Jakub Jelinek
|
748086b7b2 |
Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.
From-SVN: r145841 |
||
Benjamin Kosnik
|
04b7027180 |
Makefile.am (${pch1a_output}): Use gnu++0x flags instead of debug.
2009-04-06 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (${pch1a_output}): Use gnu++0x flags instead of debug. * include/Makefile.in: Regenerate. * include/precompiled/stdc++.h: Add. * doc/xml/api.xml: Add gcc-4.4 link. * doc/html/api.html: Regenerate. 2009-04-06 Benjamin Kosnik <bkoz@redhat.com> * include/bits/random.h: Adjust doxygen markup. * doc/doxygen/user.cfg.in: Prefer C++0x to tr1 includes. * testsuite/26_numerics/random/piecewise_linear_distribution/ operators/serialize.cc: Use typedefs. From-SVN: r145645 |
||
Paolo Carlini
|
42a733047e |
[multiple changes]
2009-04-05 Edward M. Smith-Rowland <3dw4rd@verizon.net> * include/bits/random.h (struct _ShiftMin1): Fix small typo and thinko. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ default.cc: Enable. 2009-04-05 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/39629 (partial) * testsuite/26_numerics/random/independent_bits_engine/cons/ base_move.cc: Use uint_fast64_t instead of unsigned long. * testsuite/26_numerics/random/independent_bits_engine/cons/ seed1.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ seed2.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ base_copy.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ requirements/typedefs.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/mt19937_64.cc: Use ull. From-SVN: r145553 |
||
Benjamin Kosnik
|
8e79468d01 |
[multiple changes]
2009-04-02 Benjamin Kosnik <bkoz@redhat.com> * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Change to mersenne_twister_engine, add same defaults as mersenne_twister_engine/cons/default.cc. * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Same. * include/bits/random.tcc (seed_seq::seed_seq): Uglify parameter to __il. * include/bits/random.h (mersenne_twister_engine): Qualify _ShiftMin1 with namespace __detail. (__detail::_ShiftMin1): Use __gnu_cxx::__numeric_traits::max until constexpr std::numeric_limits::max() can be used. (mersenne_twister_engine): Split apart static asserts into one assert per message. Temporarily disable the last three. 2009-04-02 Edward Smith-Rowland <3dw4rd@verizon.net> * include/Makefile.am: Update to N2836. Modified for new random headers. * include/Makefile.in: Ditto. * include/tr1_impl/random: Moved to tr1/random.h * include/tr1_impl/random.tcc: Moved to tr1 * include/tr1/random: Just point to moved tr1 random headers. * include/tr1/random.tcc: Moved from tr1_impl. * include/tr1/random.h: Moved from tr1_impl/random. * include/std/random: Modified to point to std random headers. * include/bits/random.tcc: New implementation of std random facilities. * include/bits/random.h: Ditto. * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Changed. * testsuite/26_numerics/random/linear_congruential_engine/cons/ seed1.cc: New. * testsuite/26_numerics/random/linear_congruential_engine/cons/ seed2.cc: New. * testsuite/26_numerics/random/linear_congruential_engine/cons/ default.cc: New. * testsuite/26_numerics/random/linear_congruential_engine/requirements/ non_uint_neg.cc: New. * testsuite/26_numerics/random/linear_congruential_engine/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/linear_congruential_engine/operators/ equal.cc: New. * testsuite/26_numerics/random/linear_congruential_engine/operators/ serialize.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ seed1.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ seed2.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ default.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/operators/ equal.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/operators/ serialize.cc: New. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed1.cc: New. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed2.cc: New. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ default.cc: New. * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/subtract_with_carry_engine/operators/ equal.cc: New. * testsuite/26_numerics/random/subtract_with_carry_engine/operators/ serialize.cc: New. * testsuite/26_numerics/random/discard_block_engine/cons/ base_move.cc: New. * testsuite/26_numerics/random/discard_block_engine/cons/ seed1.cc: New. * testsuite/26_numerics/random/discard_block_engine/cons/ seed2.cc: New. * testsuite/26_numerics/random/discard_block_engine/cons/ base_copy.cc: New. * testsuite/26_numerics/random/discard_block_engine/cons/ default.cc: New. * testsuite/26_numerics/random/discard_block_engine/cons/ seed_seq.cc: New. * testsuite/26_numerics/random/discard_block_engine/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/discard_block_engine/operators/ equal.cc: New. * testsuite/26_numerics/random/discard_block_engine/operators/ serialize.cc: New. * testsuite/26_numerics/random/independent_bits_engine/cons/ base_move.cc: New. * testsuite/26_numerics/random/independent_bits_engine/cons/ seed1.cc: New. * testsuite/26_numerics/random/independent_bits_engine/cons/ seed2.cc: New. * testsuite/26_numerics/random/independent_bits_engine/cons/ base_copy.cc: New. * testsuite/26_numerics/random/independent_bits_engine/cons/ default.cc: New. * testsuite/26_numerics/random/independent_bits_engine/cons/ seed_seq.cc: New. * testsuite/26_numerics/random/independent_bits_engine/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/independent_bits_engine/operators/ equal.cc: New. * testsuite/26_numerics/random/independent_bits_engine/operators/ serialize.cc: New. * testsuite/26_numerics/random/shuffle_order_engine/cons/ base_move.cc: New. * testsuite/26_numerics/random/shuffle_order_engine/cons/ seed1.cc: New. * testsuite/26_numerics/random/shuffle_order_engine/cons/ seed2.cc: New. * testsuite/26_numerics/random/shuffle_order_engine/cons/ base_copy.cc: New. * testsuite/26_numerics/random/shuffle_order_engine/cons/ default.cc: New. * testsuite/26_numerics/random/shuffle_order_engine/cons/ seed_seq.cc: New. * testsuite/26_numerics/random/shuffle_order_engine/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/shuffle_order_engine/operators/ equal.cc: New. * testsuite/26_numerics/random/shuffle_order_engine/operators/ serialize.cc * testsuite/26_numerics/random/mt19937.cc: New. * testsuite/26_numerics/random/mt19937_64.cc: New. * testsuite/26_numerics/random/minstd_rand.cc: New. * testsuite/26_numerics/random/minstd_rand0.cc: New. * testsuite/26_numerics/random/ranlux24_base.cc: New. * testsuite/26_numerics/random/ranlux48_base.cc: New. * testsuite/26_numerics/random/ranlux24.cc: New. * testsuite/26_numerics/random/ranlux48.cc: New. * testsuite/26_numerics/random/knuth_b.cc: New. * testsuite/26_numerics/random/default_random_engine.cc: New. * testsuite/26_numerics/random/chi_squared_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/chi_squared_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/chi_squared_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/chi_squared_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/normal_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/normal_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/normal_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/normal_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/seed_seq/cons/range.cc: New. * testsuite/26_numerics/random/seed_seq/cons/default.cc: New. * testsuite/26_numerics/random/seed_seq/requirements/typedefs.cc: New. * testsuite/26_numerics/random/uniform_int_distribution/cons/ parms_neg.cc: New. * testsuite/26_numerics/random/uniform_int_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/uniform_int_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/uniform_int_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/uniform_int_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/uniform_real_distribution/cons/ parms_neg.cc: New. * testsuite/26_numerics/random/uniform_real_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/uniform_real_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/uniform_real_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/uniform_real_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/poisson_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/poisson_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/poisson_distribution/requirements/ typedefs.cc * testsuite/26_numerics/random/poisson_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/bernoulli_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/bernoulli_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/bernoulli_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/bernoulli_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/discrete_distribution/cons/ range.cc: New. * testsuite/26_numerics/random/discrete_distribution/cons/ initlist.cc: New. * testsuite/26_numerics/random/discrete_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/discrete_distribution/cons/ num_xbound_fun.cc: New. * testsuite/26_numerics/random/discrete_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/discrete_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/weibull_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/weibull_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/weibull_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/weibull_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/negative_binomial_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/negative_binomial_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/negative_binomial_distribution/ requirements/typedefs.cc: New. * testsuite/26_numerics/random/negative_binomial_distribution/ operators/serialize.cc: New. * testsuite/26_numerics/random/cauchy_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/cauchy_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/cauchy_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/cauchy_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/gamma_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/gamma_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/gamma_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/gamma_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/fisher_f_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/fisher_f_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/fisher_f_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/fisher_f_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/exponential_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/exponential_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/exponential_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/exponential_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/lognormal_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/lognormal_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/lognormal_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/lognormal_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/binomial_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/binomial_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/binomial_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/binomial_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/random_device/cons/ token.cc: New. * testsuite/26_numerics/random/random_device/cons/ default.cc: New. * testsuite/26_numerics/random/random_device/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/extreme_value_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/extreme_value_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/extreme_value_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/extreme_value_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/piecewise_linear_distribution/cons/ range.cc: New. * testsuite/26_numerics/random/piecewise_linear_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/piecewise_linear_distribution/cons/ num_xbound_fun.cc: New. * testsuite/26_numerics/random/piecewise_linear_distribution/cons/ initlist_fun.cc: New. * testsuite/26_numerics/random/piecewise_linear_distribution/ requirements/typedefs.cc: New. * testsuite/26_numerics/random/piecewise_linear_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/student_t_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/student_t_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/student_t_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/student_t_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/geometric_distribution/cons/ parms.cc: New. * testsuite/26_numerics/random/geometric_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/geometric_distribution/requirements/ typedefs.cc: New. * testsuite/26_numerics/random/geometric_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/piecewise_constant_distribution/cons/ range.cc: New. * testsuite/26_numerics/random/piecewise_constant_distribution/cons/ default.cc: New. * testsuite/26_numerics/random/piecewise_constant_distribution/cons/ num_xbound_fun.cc: New. * testsuite/26_numerics/random/piecewise_constant_distribution/cons/ initlist_fun.cc: New. * testsuite/26_numerics/random/piecewise_constant_distribution/ requirements/typedefs.cc: New. * testsuite/26_numerics/random/piecewise_constant_distribution/ operators/serialize.cc: New. From-SVN: r145483 |
||
Paolo Carlini
|
23cdf8e8f6 |
complex (operator+(const complex<>&, const _Tp&), [...]): Do not assume real() returns a reference (against DR 387).
2009-03-10 Paolo Carlini <paolo.carlini@oracle.com> * include/std/complex (operator+(const complex<>&, const _Tp&), operator+(const _Tp&, const complex<>&), operator-(const complex<>&, const _Tp&), operator-(const _Tp&, const complex<>&)): Do not assume real() returns a reference (against DR 387). * testsuite/26_numerics/complex/dr387_2.cc: New. From-SVN: r144770 |
||
Jack Howarth
|
d711bdded5 |
c99_classification_macros_c.cc: Don't xfail test on darwin8 or later.
2008-12-17 Jack Howarth <howarth@bromo.med.uc.edu> * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: Don't xfail test on darwin8 or later. From-SVN: r142797 |
||
Jack Howarth
|
91102877a1 |
c99_classification_macros_c.cc: Don't xfail excessive errors on darwin8 or later.
2008-12-16 Jack Howarth <howarth@bromo.med.uc.edu> * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: Don't xfail excessive errors on darwin8 or later. From-SVN: r142782 |
||
Jakub Jelinek
|
2d07fd8ae2 |
re PR libstdc++/37582 (std::pow strange overload resolution)
PR c++/37582 * testsuite/26_numerics/headers/cmath/37582.cc: New. From-SVN: r142707 |
||
Jason Merrill
|
988499f434 |
Add initializer_list support as per N2679.
* include/debug/unordered_map: Add initializer_list support. * include/debug/safe_association.h: Likewise. * include/debug/unordered_set: Likewise. * include/debug/vector: Likewise. * include/debug/deque: Likewise. * include/debug/map.h: Likewise. * include/debug/set.h: Likewise. * include/debug/string: Likewise. * include/debug/list: Likewise. * include/debug/multimap.h: Likewise. * include/tr1_impl/unordered_map: Likewise. * include/tr1_impl/hashtable: Likewise. * include/tr1_impl/unordered_set: Likewise. * include/tr1_impl/regex: Likewise. * include/std/valarray: Likewise. * include/std/unordered_map: Likewise. * include/std/unordered_set: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_map.h: Likewise. * include/bits/stl_set.h: Likewise. * include/bits/basic_string.h: Likewise. * include/bits/basic_string.tcc: Likewise. * include/bits/stl_multimap.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_multiset.h: Likewise. * include/bits/stl_bvector.h: Likewise. * include/ext/vstring.h: Likewise. * include/ext/rc_string_base.h: Likewise. * include/ext/sso_string_base.h: Likewise. * src/Makefile.am (w?string-inst): Build with -std=gnu++0x. * src/Makefile.in: Likewise. * config/abi/pre/gnu.ver: Add new w?string exports. ... From-SVN: r138043 |
||
Paolo Carlini
|
fa52081d86 |
stl_numeric.h (iota): Add in C++0x mode.
2008-06-27 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_numeric.h (iota): Add in C++0x mode. * testsuite/util/testsuite_character.h (pod_int): Add operator++ in C++0x mode. * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise. * testsuite/26_numerics/iota/1.cc: New. * testsuite/26_numerics/iota/requirements/explicit_instantiation/ 2.cc: Likewise. * testsuite/26_numerics/iota/requirements/explicit_instantiation/ pod.cc: Likewise. * include/ext/algorithm: Do not fiddle with the legacy headers. * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments, style. * testsuite/26_numerics/accumulate/1.cc: Likewise. * testsuite/26_numerics/adjacent_difference/1.cc: Likewise. * testsuite/26_numerics/inner_product/1.cc: Likewise. From-SVN: r137174 |
||
Paolo Carlini
|
3fd29fa912 |
complex (pow(const complex<>&, int)): Do not define in C++0x mode, per DR 844.
2008-06-12 Paolo Carlini <paolo.carlini@oracle.com> * include/std/complex (pow(const complex<>&, int)): Do not define in C++0x mode, per DR 844. * include/tr1/complex (pow(const complex<>&, int)): Remove. * doc/xml/manual/intro.xml: Add an entry for DR 844. * testsuite/26_numerics/complex/dr844.cc: New. * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust. From-SVN: r136694 |
||
Paolo Carlini
|
774c3d8647 |
cmath (pow(float, int), [...]): Do not define in C++0x mode, per DR 550.
2008-05-26 Paolo Carlini <paolo.carlini@oracle.com> * include/c_global/cmath (pow(float, int), pow(double, int), pow(long double, int)): Do not define in C++0x mode, per DR 550. * include/tr1_impl/cmath (pow): Do not bring in unconditionally from namespace std. * include/tr1/cmath (pow(double, double), pow(float, float), pow(long double, long double), pow(_Tp, _Up)): Define. * include/tr1/complex (pow): Do not bring in from namespace std. (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&, const _Tp&), pow(const _Tp&, const std::complex<_Tp>&), pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define. * include/tr1_impl/complex (pow(const std::complex<_Tp>&, const _Up&), pow(const _Tp&, const std::complex<_Up>&), pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always define. * doc/xml/manual/intro.xml: Add an entry for DR 550. * testsuite/26_numerics/headers/cmath/dr550.cc: New. * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust. From-SVN: r135955 |
||
Paolo Carlini
|
23ed71c60c |
complex (complex<>::real(_Tp), [...]): Add per DR 387.
2008-05-25 Paolo Carlini <paolo.carlini@oracle.com> * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp), complex<float>::real(float), complex<float>::imag(float), complex<double>::real(double), complex<double>::imag(double), complex<long double>::real(long double), complex<long double>::imag(long double)): Add per DR 387. (complex<>::real(), complex<>::imag(), complex<float>::real(), complex<float>::imag(), complex<double>::real(), complex<double>::imag(), complex<long double>::real(), complex<long double>::imag(long double)): Adjust in C++0x mode. (real(complex<>&), imag(complex<>&), real(const complex<>&), imag(const complex<>&)): Likewise. * testsuite/26_numerics/complex/dr387.cc: New. * doc/xml/manual/intro.xml: Add an entry for DR 387. From-SVN: r135878 |
||
Paolo Carlini
|
d36f0e7895 |
dr781.cc: Add test variable.
2008-05-22 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/26_numerics/complex/dr781.cc: Add test variable. From-SVN: r135758 |
||
Paolo Carlini
|
3cd54fc92d |
complex (proj(const std::complex<>&), proj(_Tp)): Add per DR 781.
2008-05-22 Paolo Carlini <paolo.carlini@oracle.com> * include/std/complex (proj(const std::complex<>&), proj(_Tp)): Add per DR 781. * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to... * include/tr1/complex: ... here. * doc/xml/manual/intro.xml: Add an entry for DR 781. * testsuite/26_numerics/complex/dr781.cc: Add. * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update. * configure: Regenerate. From-SVN: r135757 |
||
Paolo Carlini
|
7919bb2fba |
[multiple changes]
2007-12-10 Paolo Carlini <pcarlini@suse.de> * testsuite/25_algorithms/nth_element/2.cc: Avoid -Wall warnings. * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise. * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/ 28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/ 28277-4.cc: Likewise. * testsuite/19_diagnostics/error_code/operators/bool.cc: Likewise. * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Likewise. * testsuite/18_support/headers/cstddef/macros.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ wchar_t/28277.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ char/28277.cc: Likewise. * testsuite/26_numerics/headers/cmath/25913.cc: Likewise. * testsuite/ext/pb_ds/example/priority_queue_xref.cc: Likewise. * testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: Likewise. * testsuite/ext/vstring/inserters_extractors/char/28277.cc: Likewise. * testsuite/ext/enc_filebuf/char/13598.cc: Likewise. * testsuite/22_locale/collate/compare/char/2.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise. * testsuite/22_locale/time_put/put/char/5.cc: Likewise. * testsuite/22_locale/time_put/put/char/6.cc: Likewise. * testsuite/22_locale/time_put/put/char/7.cc: Likewise. * testsuite/22_locale/time_put/put/char/8.cc: Likewise. * testsuite/22_locale/codecvt/unshift/char/1.cc: Likewise. * testsuite/22_locale/codecvt/length/char/1.cc: Likewise. * testsuite/22_locale/codecvt/length/char/2.cc: Likewise. * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise. * testsuite/22_locale/codecvt/in/char/1.cc: Likewise. * testsuite/22_locale/codecvt/out/char/1.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise. * testsuite/22_locale/num_get/get/char/1.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/uniform_int/ 33128.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/ mutex_weaktoshared.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/ default_weaktoshared.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/assign/char/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/ range.cc: Likewise. * testsuite/23_containers/multimap/operations/1.cc: Likewise. * testsuite/23_containers/set/operations/1.cc: Likewise. * testsuite/23_containers/vector/bool/capacity/29134.cc: Likewise. * testsuite/23_containers/deque/modifiers/erase/1.cc: Likewise. * testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise. * testsuite/23_containers/multiset/operations/1.cc: Likewise. * testsuite/23_containers/map/operations/1.cc: Likewise. * testsuite/util/testsuite_hooks.cc: Likewise. * testsuite/util/testsuite_rvalref.h: Likewise. 2007-12-10 Jakub Jelinek <jakub@redhat.com> * include/ext/throw_allocator.h (print_to_string): Change sprintf format to %lu and cast ref.second.{first,second} to long. * include/debug/safe_iterator.tcc (_M_can_advance): Add parens to avoid warnings. From-SVN: r130743 |
||
Paolo Carlini
|
0e7edcd5eb |
re PR libstdc++/25913 (Client's isnormal function is broken by cmath)
2007-11-26 Paolo Carlini <pcarlini@suse.de> PR libstdc++/25913 * include/c_std/cmath (std::fpclassify, isfinite, isinf, isnan, isnormal, signbit, isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered): Guard with __enable_if and forward with __promote. * include/c_global/cmath: Likewise. * testsuite/26_numerics/headers/cmath/25913.cc: New. * include/c_std/cmath (__gnu_cxx::__capture_isfinite, __capture_isinf, __capture_isnan, __capture_isnormal, __capture_signbit, __capture_isgreater, __capture_isgreaterequal, __capture_isless, __capture_islessequal, __capture_islessgreater, __capture_isunordered): Remove. (std::isfinite, isinf, isnan, isnormal, signbit, isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered): Forward to the corresponding builtin. * include/c_global/cmath: Likewise. * include/c_global/cmath (std::atan2, pow): Guard with __enable_if. From-SVN: r130443 |
||
Janis Johnson
|
fdaea7e286 |
re PR testsuite/25352 (xfail within dg-do command has no effect)
gcc/ PR testsuite/25352 * doc/sourcebuild.texi (Test Directives): Document that xfail has no effect for dg-do except when dg-do-what is "run". libstdc++-v3/ PR testsuite/25352 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: Remove xfail from dg-do and add dg-skip-if. gcc/testsuite/ PR testsuite/25352 * gcc.c-torture/compile/20000804-1.c: Remove xfail from dg-do and add dg-skip-if. * gcc.c-torture/compile/20001205-1.c: Ditto. * gcc.c-torture/compile/20001226-1.c: Ditto. * gcc.c-torture/compile/20020312-1.c: Ditto. * gcc.c-torture/compile/20020604-1.c: Ditto. * gcc.c-torture/compile/920501-12.c: Ditto. * gcc.c-torture/compile/920501-4.c: Ditto. * gcc.c-torture/compile/920520-1.c: Ditto. * gcc.c-torture/compile/980506-1.c: Ditto. * gcc.c-torture/compile/990617-1.c: Ditto. * gcc.dg/compare6.c: Ditto. * g++.old-deja/g++.brendan/crash43.C: Ditto. * g++.old-deja/g++.brendan/synth1.C: Ditto. * g++.old-deja/g++.oliva/dwarf2.C: Ditto. * g++.old-deja/g++.oliva/dwarf3.C: Ditto. * g++.old-deja/g++.pt/static6.C: Ditto. * g++.old-deja/g++.pt/crash16.C: Ditto. * g++.old-deja/g++.mike/p10416.C: Ditto. * g++.old-deja/g++.mike/ns15.C: Ditto. * g++.old-deja/g++.mike/eh46.C: Ditto. From-SVN: r129823 |
||
Johannes Singler
|
0e6c9eaa5c |
base.h: Added plus and multiplies functor for differently typed objects.
2007-10-08 Johannes Singler <singler@ira.uka.de> * include/parallel/base.h: Added plus and multiplies functor for differently typed objects. * include/parallel/numeric: Use it. * include/parallel/for_each_selectors.h: Allowed different types. * include/parallel/partial_sum.h: Fixed return value. * testsuite/26_numerics/accumulate/1.cc: Tests for accumulate. * testsuite/26_numerics/inner_product/1.cc: Tests for inner_product. From-SVN: r129140 |
||
Benjamin Kosnik
|
4f99f3d0e5 |
stl_algo.h: Add return type information to comments.
2007-09-26 Benjamin Kosnik <bkoz@redhat.com> * include/bits/stl_algo.h: Add return type information to comments. * include/bits/algorithmfwd.h: Formatting. * testsuite/util/testsuite_hooks.h (NonDefaultConstructible): Move.. * testsuite/util/testsuite_api.h: ...here. Add necessary operators for use in testing chapters 25 and 26. * testsuite/util/testsuite_character.h: Same. * testsuite/25_algorithms/*/requirements/explicit_instantiation/ 2.cc, pod.cc: New. * testsuite/26_numerics/accumulate, adjacent_difference, inner_product, partial_sum/requirements/explicit_instantiation/2.cc, pod.cc: New. * testsuite/26_numerics/numeric_arrays/*: Move contents into testsuite/26_numerics. * testsuite/26_numerics/numeric_operations: Same. * testsuite/23_containers/*/requirements/explicit_instantiation/2.cc: Adjust includes from testsuite_eh.h to testsuite_api.h. Co-Authored-By: Chalathip Thumkanon <chalathip@gmail.com> From-SVN: r128822 |
||
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 |
||
Johannes Willkomm
|
5837d3c8f0 |
re PR libstdc++/33084 (Small typo in valarray header)
2007-08-17 Johannes Willkomm <willkomm@sc.rwth-aachen.de> PR libstdc++/33084 * include/std/valarray (operator _Op(const _Tp&, const valarray<>&)): Fix typo. * testsuite/26_numerics/numeric_arrays/valarray/33084.cc: New. From-SVN: r127579 |
||
Doug Gregor
|
f535826b35 |
std_c++0x_neg.cc: Force C++98 mode.
2007-06-29 Douglas Gregor <doug.gregor@gmail.com> * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Force C++98 mode. * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Ditto. * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Ditto. * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Ditto. * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Ditto. From-SVN: r126120 |
||
Benjamin Kosnik
|
95440e3ee0 |
cmath: Guard special math with __GXX_EXPERIMENTAL_CXX0X__.
2007-05-17 Benjamin Kosnik <bkoz@redhat.com> * include/tr1/cmath: Guard special math with __GXX_EXPERIMENTAL_CXX0X__. * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: Remove xfail. From-SVN: r124791 |
||
Benjamin Kosnik
|
a6d99bb44a |
types_std_c++0x_neg.cc: New.
2007-05-08 Benjamin Kosnik <bkoz@redhat.com> * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: New. From-SVN: r124540 |
||
Paolo Carlini
|
74b332b8a0 |
complex: Add missing extern template declarations.
2007-05-06 Paolo Carlini <pcarlini@suse.de> * include/std/complex: Add missing extern template declarations. * testsuite/26_numerics/complex/complex_inserters_extractors.cc: Move... * testsuite/26_numerics/complex/inserters_extractors/char/1.cc: ... here. * testsuite/26_numerics/complex/inserters_extractors/wchar_t/1.cc: New. From-SVN: r124477 |
||
Benjamin Kosnik
|
3422222a02 |
types_std_c++0x.cc: Use -std=gnu++0x instead of -std=c++0x for testing.
2007-03-16 Benjamin Kosnik <bkoz@redhat.com> * testsuite/27_io/headers/cinttypes/types_std_c++0x.cc: Use -std=gnu++0x instead of -std=c++0x for testing. * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/random/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: Same. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Same. * testsuite/17_intro/headers/c++200x/all.cc: Same. * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Same. * testsuite/23_containers/hash/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_map/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/tuple/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_multimap/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_set/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/headers/tuple/types_std_c++0x.cc: Same. * testsuite/23_containers/unordered_multiset/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/array/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/enable_shared_from_this/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/headers/functional/types_std_c++0x.cc: Same. * testsuite/20_util/headers/functional/ using_namespace_std_placeholders.cc: Same. * testsuite/20_util/headers/type_traits/types_std_c++0x.cc: Same. * testsuite/20_util/headers/memory/types_std_c++0x.cc: Same. * testsuite/20_util/shared_ptr/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/weak_ptr/requirements/ explicit_instantiation.cc: Same. From-SVN: r122996 |
||
Benjamin Kosnik
|
af13a7a6ec |
acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global.
2007-03-04 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global. * configure.host (c_model): Set default to c_global. * configure: Regenerate. * include/Makefile.am (c_compatibility_headers_extra): Make conditional on GLIBCXX_C_HEADERS_COMPATIBILITY. (c_base_headers_extra): Make conditional on GLIBCXX_C_HEADERS_EXTRA. (c_compatibility_headers): Make conditional on c/c_std/c_global. * include/Makefile.in: Regenerate. * docs/html/configopts.html: Add c_global information to --enable-cheaders. Eventually, "c_std" should mean "C" includes that are in namespace std, with optional C++ "C" compatibility includes to inject into global scope. And "c_global" should mean "C" includes that are in the global namespace, with C++ includes injecting into namespace std and no C++ "C" compatibility includes. 2007-03-04 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config: Add _GLIBCXX_NAMEPACE_C. Add _GLIBCXX_NAMESPACE_ASSOCIATION_CXX200x. Add _GLIBCXX_TR1 as namespace macro. Add namespace associations for std::__cxx200x conditionally. * include/c_compatibility/assert.h: Correct doxygen markup, conditionalize the global injections on _GLIBCXX_NAMESPACE_C. * include/c_compatibility/ctype.h: Same. * include/c_compatibility/errno.h: Same. * include/c_compatibility/float.h: Same. * include/c_compatibility/iso646.h: Same. * include/c_compatibility/limits.h: Same. * include/c_compatibility/locale.h: Same. * include/c_compatibility/math.h: Same. * include/c_compatibility/setjmp.h: Same. * include/c_compatibility/signal.h: Same. * include/c_compatibility/stdarg.h: Same. * include/c_compatibility/stddef.h: Same. * include/c_compatibility/stdio.h: Same. * include/c_compatibility/stdlib.h: Same. * include/c_compatibility/string.h: Same. * include/c_compatibility/time.h: Same. * include/c_compatibility/wchar.h: Same. * include/c_compatibility/wctype.h: Same. * include/c_compatibility/complex.h: Add. * include/c_compatibility/fenv.h: Same. * include/c_compatibility/inttypes.h: Same. * include/c_compatibility/stdbool.h: Same. * include/c_compatibility/stdint.h: Same. * include/c_compatibility/tgmath.h: Same. * include/c_global/cassert: Add, use include_next, use C++0x features if -std=c++0x. * include/c_global/cctype: Same. * include/c_global/cerrno: Same. * include/c_global/cfloat: Same. * include/c_global/ciso646: Same. * include/c_global/climits: Same. * include/c_global/clocale: Same. * include/c_global/cmath: Same. * include/c_global/cmath.tcc: Same. * include/c_global/csetjmp: Same. * include/c_global/csignal: Same. * include/c_global/cstdarg: Same. * include/c_global/cstddef: Same. * include/c_global/cstdio: Same. * include/c_global/cstdlib: Same. * include/c_global/cstring: Same. * include/c_global/ctime: Same. * include/c_global/cwchar: Same. * include/c_global/cwctype: Same. * include/c_global/ccomplex: Add. * include/c_global/cfenv: Add. * include/c_global/cinttypes: Add. * include/c_global/cstdbool: Add. * include/c_global/cstdint: Add. * include/c_global/ctgmath: Add. * include/std/algorithm: Use C++0x features if -std=c++0x. * include/std/bitset: Same. * include/std/complex: Same. * include/std/deque: Same. * include/std/fstream: Same. * include/std/functional: Same. * include/std/iomanip: Same. * include/std/ios: Same. * include/std/iosfwd: Same. * include/std/iostream: Same. * include/std/istream: Same. * include/std/iterator: Same. * include/std/limits: Same. * include/std/list: Same. * include/std/locale: Same. * include/std/map: Same. * include/std/memory: Same. * include/std/numeric: Same. * include/std/ostream: Same. * include/std/queue: Same. * include/std/set: Same. * include/std/sstream: Same. * include/std/stack: Same. * include/std/stdexcept: Same. * include/std/streambuf: Same. * include/std/string: Same. * include/std/utility: Same. * include/std/valarray: Same. * include/std/vector: Same. * include/std/array: Add. * include/std/random: Add. * include/std/regex: Add. * include/std/tuple: Add. * include/std/type_traits: Add. * include/std/unordered_map: Add. * include/std/unordered_set: Add. * include/std/c++0x_warning.h: Add. * include/tr1/array: Switch namespaces based on _GLIBCXX_TR1. * include/tr1/boost_shared_ptr.h: Same. * include/tr1/cctype: Same. * include/tr1/cfenv: Same. * include/tr1/cinttypes: Same. * include/tr1/cmath: Same. * include/tr1/common.h: Same. * include/tr1/complex: Same. * include/tr1/cstdint: Same. * include/tr1/cstdio: Same. * include/tr1/cstdlib: Same. * include/tr1/cwchar: Same. * include/tr1/cwctype: Same. * include/tr1/functional: Same. * include/tr1/functional_hash.h: Same. * include/tr1/functional_iterate.h: Same. * include/tr1/hashtable: Same. * include/tr1/hashtable_policy.h: Same. * include/tr1/math.h: Same. * include/tr1/memory: Same. * include/tr1/random: Same. * include/tr1/random.tcc: Same. * include/tr1/ref_fwd.h: Same. * include/tr1/repeat.h: Same. * include/tr1/stdlib.h: Same. * include/tr1/tuple: Same. * include/tr1/tuple_iterate.h: Same. * include/tr1/type_traits: Same. * include/tr1/type_traits_fwd.h: Same. * include/tr1/unordered_map: Same. * include/tr1/unordered_set: Same. * include/tr1/utility: Same. * include/tr1/ccomplex: Add. * include/tr1/complex.h: Add. * include/tr1/regex: Add. * include/Makefile.am: Add C++0x headers, "C" compatibility headers. * include/Makefile.in: Regenerate. * testsuite/tr1/headers.cc: Add in regex/complex. * testsuite/17_intro/headers/c++200x/all.cc: New. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Same. * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Same. * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Same. * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Same. * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Same. * testsuite/20_util/enable_shared_from_this/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/headers/functional/types_std_c++0x.cc: Same. * testsuite/20_util/headers/functional/ using_namespace_std_placeholders.cc: Same. * testsuite/20_util/headers/memory/types_std_c++0x.cc: Same. * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Same. * testsuite/20_util/headers/type_traits/types_std_c++0x.cc: Same. * testsuite/20_util/shared_ptr/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/weak_ptr/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/array/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/hash/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Same. * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Same. * testsuite/23_containers/headers/tuple/types_std_c++0x.cc: Same. * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc: Same. * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc: Same. * testsuite/23_containers/tuple/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_map/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_multimap/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_multiset/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_set/requirements/ explicit_instantiation.cc: Same. * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/random/types_std_c++0x.cc: Same. * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Same. * testsuite/27_io/headers/cinttypes/types_std_c++0x.cc: Same. * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Same. * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Rename ... * testsuite/tr1/8_c_compatibility/cinttypes/types.cc: Same. * testsuite/tr1/8_c_compatibility/cmath/types.cc: Same. * testsuite/tr1/8_c_compatibility/cstdint/types.cc: Same. * testsuite/tr1/8_c_compatibility/cstdlib/types.cc: Same. * testsuite/tr1/8_c_compatibility/cfenv/types_std_tr1.cc: ...to this. * testsuite/tr1/8_c_compatibility/cinttypes/types_std_tr1.cc: Same. * testsuite/tr1/8_c_compatibility/cmath/types_std_tr1.cc: Same. * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Same. * testsuite/tr1/8_c_compatibility/cstdlib/types_std_tr1.cc: Same. From-SVN: r122533 |
||
Mark Mitchell
|
8371ec7426 |
target-supports.exp (check_effective_target_unwrapped): New.
* lib/target-supports.exp (check_effective_target_unwrapped): New. * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: XFAIL for Newlib targets. From-SVN: r122272 |
||
Benjamin Kosnik
|
f05e2819af |
Directory layout flattening.
2007-02-20 Benjamin Kosnik <bkoz@redhat.com> Directory layout flattening. Added in testsuite: * 20_util/allocator * 20_util/auto_ptr * 20_util/function_objects * 20_util/function_objects/binders * 20_util/function_objects/binders/1.cc * 20_util/function_objects/binders/3113.cc * 20_util/function_objects/comparisons.cc * 20_util/pair * 20_util/raw_storage_iterator * 20_util/rel_ops.cc * 20_util/specialized_algorithms * 20_util/specialized_algorithms/16505.cc * 20_util/temporary_buffer.cc * 26_numerics/numeric_arrays/slice_array * 26_numerics/numeric_arrays/slice_array/array_assignment.cc * 26_numerics/numeric_arrays/slice_array/requirements * 26_numerics/numeric_arrays/slice_array/requirements/ explicit_instantiation.cc * 26_numerics/numeric_arrays/slice_array/requirements/typedefs.cc * 26_numerics/numeric_arrays/valarray * 26_numerics/numeric_arrays/valarray/27867.cc * 26_numerics/numeric_arrays/valarray/28277.cc * 26_numerics/numeric_arrays/valarray/30416.cc * 26_numerics/numeric_arrays/valarray/algo.cc * 26_numerics/numeric_arrays/valarray/binary_closure.cc * 26_numerics/numeric_arrays/valarray/const_bracket.cc * 26_numerics/numeric_arrays/valarray/dr543.cc * 26_numerics/numeric_arrays/valarray/name_lookup.cc * 26_numerics/numeric_arrays/valarray/operators.cc * 26_numerics/numeric_arrays/valarray/requirements * 26_numerics/numeric_arrays/valarray/requirements/ explicit_instantiation.cc * 26_numerics/numeric_arrays/valarray/requirements/typedefs.cc * 26_numerics/numeric_arrays/valarray/subset_assignment.cc * tr1/2_general_utilities/enable_shared_from_this * tr1/2_general_utilities/shared_ptr * tr1/2_general_utilities/weak_ptr Deleted in testsuite: * 20_util/functional * 20_util/functional/binders * 20_util/functional/binders/1.cc * 20_util/functional/binders/3113.cc * 20_util/functional/comparisons.cc * 20_util/memory * 20_util/memory/16505.cc * 20_util/memory/allocator * 20_util/memory/allocator/10378.cc * 20_util/memory/allocator/14176.cc * 20_util/memory/allocator/1.cc * 20_util/memory/allocator/8230.cc * 20_util/memory/allocator/requirements * 20_util/memory/allocator/requirements/explicit_instantiation * 20_util/memory/allocator/requirements/explicit_instantiation/1.cc * 20_util/memory/auto_ptr * 20_util/memory/auto_ptr/1.cc * 20_util/memory/auto_ptr/2.cc * 20_util/memory/auto_ptr/3946.cc * 20_util/memory/auto_ptr/3.cc * 20_util/memory/auto_ptr/4.cc * 20_util/memory/auto_ptr/5.cc * 20_util/memory/auto_ptr/6.cc * 20_util/memory/auto_ptr/7.cc * 20_util/memory/auto_ptr/assign_neg.cc * 20_util/memory/auto_ptr/requirements * 20_util/memory/auto_ptr/requirements/explicit_instantiation * 20_util/memory/auto_ptr/requirements/explicit_instantiation/1.cc * 20_util/memory/raw_storage_iterator * 20_util/memory/raw_storage_iterator/requirements * 20_util/memory/raw_storage_iterator/requirements/base_classes.cc * 20_util/memory/raw_storage_iterator/requirements/ explicit_instantiation * 20_util/memory/raw_storage_iterator/requirements/ explicit_instantiation/1.cc * 20_util/memory/raw_storage_iterator/requirements/typedefs.cc * 20_util/memory/temporary_buffer.cc * 20_util/utility * 20_util/utility/pair * 20_util/utility/pair/1.cc * 20_util/utility/pair/2.cc * 20_util/utility/pair/3.cc * 20_util/utility/pair/4.cc * 20_util/utility/pair/requirements * 20_util/utility/pair/requirements/explicit_instantiation * 20_util/utility/pair/requirements/explicit_instantiation/1.cc * 20_util/utility/rel_ops.cc * 26_numerics/numeric_arrays/27867.cc * 26_numerics/numeric_arrays/28277.cc * 26_numerics/numeric_arrays/30416.cc * 26_numerics/numeric_arrays/binary_closure.cc * 26_numerics/numeric_arrays/dr543.cc * 26_numerics/numeric_arrays/slice_array_assignment.cc * 26_numerics/numeric_arrays/valarray.cc * 26_numerics/numeric_arrays/valarray_const_bracket.cc * 26_numerics/numeric_arrays/valarray_name_lookup.cc * 26_numerics/numeric_arrays/valarray_operators.cc * 26_numerics/numeric_arrays/valarray_subset_assignment.cc * tr1/2_general_utilities/memory * tr1/2_general_utilities/memory/enable_shared_from_this * tr1/2_general_utilities/memory/enable_shared_from_this/1.cc * tr1/2_general_utilities/memory/enable_shared_from_this/not_shared2.cc * tr1/2_general_utilities/memory/enable_shared_from_this/not_shared3.cc * tr1/2_general_utilities/memory/enable_shared_from_this/not_shared.cc * tr1/2_general_utilities/memory/enable_shared_from_this/requirements * tr1/2_general_utilities/memory/enable_shared_from_this/ requirements/explicit_instantiation * tr1/2_general_utilities/memory/enable_shared_from_this/ requirements/explicit_instantiation/1.cc * tr1/2_general_utilities/memory/enable_shared_from_this/shared.cc * tr1/2_general_utilities/memory/enable_shared_from_this/ still_shared.cc * tr1/2_general_utilities/memory/shared_ptr * tr1/2_general_utilities/memory/shared_ptr/assign * tr1/2_general_utilities/memory/shared_ptr/assign/assign.cc * tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr.cc * tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr_neg.cc * tr1/2_general_utilities/memory/shared_ptr/assign/ auto_ptr_rvalue_neg.cc * tr1/2_general_utilities/memory/shared_ptr/assign/dr541.cc * tr1/2_general_utilities/memory/shared_ptr/assign/shared_ptr.cc * tr1/2_general_utilities/memory/shared_ptr/assign/shared_ptr_neg.cc * tr1/2_general_utilities/memory/shared_ptr/casts * tr1/2_general_utilities/memory/shared_ptr/casts/1.cc * tr1/2_general_utilities/memory/shared_ptr/comparison * tr1/2_general_utilities/memory/shared_ptr/comparison/cmp.cc * tr1/2_general_utilities/memory/shared_ptr/cons * tr1/2_general_utilities/memory/shared_ptr/cons/auto_ptr.cc * tr1/2_general_utilities/memory/shared_ptr/cons/auto_ptr_neg.cc * tr1/2_general_utilities/memory/shared_ptr/cons/copy.cc * tr1/2_general_utilities/memory/shared_ptr/cons/default.cc * tr1/2_general_utilities/memory/shared_ptr/cons/pointer.cc * tr1/2_general_utilities/memory/shared_ptr/cons/weak_ptr.cc * tr1/2_general_utilities/memory/shared_ptr/cons/weak_ptr_expired.cc * tr1/2_general_utilities/memory/shared_ptr/dest * tr1/2_general_utilities/memory/shared_ptr/dest/dest.cc * tr1/2_general_utilities/memory/shared_ptr/misc * tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc * tr1/2_general_utilities/memory/shared_ptr/misc/io.cc * tr1/2_general_utilities/memory/shared_ptr/misc/swap.cc * tr1/2_general_utilities/memory/shared_ptr/modifiers * tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc * tr1/2_general_utilities/memory/shared_ptr/modifiers/reset.cc * tr1/2_general_utilities/memory/shared_ptr/modifiers/reset_neg.cc * tr1/2_general_utilities/memory/shared_ptr/modifiers/swap.cc * tr1/2_general_utilities/memory/shared_ptr/modifiers/swap_neg.cc * tr1/2_general_utilities/memory/shared_ptr/observers * tr1/2_general_utilities/memory/shared_ptr/observers/bool_conv.cc * tr1/2_general_utilities/memory/shared_ptr/observers/get.cc * tr1/2_general_utilities/memory/shared_ptr/observers/unique.cc * tr1/2_general_utilities/memory/shared_ptr/observers/use_count.cc * tr1/2_general_utilities/memory/shared_ptr/requirements * tr1/2_general_utilities/memory/shared_ptr/requirements/ explicit_instantiation * tr1/2_general_utilities/memory/shared_ptr/requirements/ explicit_instantiation/1.cc * tr1/2_general_utilities/memory/shared_ptr/thread * tr1/2_general_utilities/memory/shared_ptr/thread/ default_weaktoshared.cc * tr1/2_general_utilities/memory/shared_ptr/thread/ mutex_weaktoshared.cc * tr1/2_general_utilities/memory/weak_ptr * tr1/2_general_utilities/memory/weak_ptr/lock * tr1/2_general_utilities/memory/weak_ptr/lock/1.cc * tr1/2_general_utilities/memory/weak_ptr/requirements * tr1/2_general_utilities/memory/weak_ptr/requirements/ explicit_instantiation * tr1/2_general_utilities/memory/weak_ptr/requirements/ explicit_instantiation/1.cc From-SVN: r122171 |
||
Benjamin Kosnik
|
a024740df4 |
[multiple changes]
2007-02-20 Benjamin Kosnik <bkoz@redhat.com> Revamp library API testing. Added: * 17_intro/headers * 17_intro/headers/all_assert_neg.cc * 17_intro/headers/all_c++200x_compatibility.cc * 17_intro/headers/all.cc * 17_intro/headers/c++1998 * 17_intro/headers/c++1998/all.cc * 17_intro/headers/c++1998/all_multiple_inclusion.cc * 17_intro/headers/c++1998/c++_for_c.tar * 17_intro/headers/c++1998/c++.tar * 17_intro/using_namespace_std.cc * 18_support/headers * 18_support/headers/cfloat * 18_support/headers/cfloat/values.cc * 18_support/headers/climits * 18_support/headers/climits/values.cc * 18_support/headers/csetjmp * 18_support/headers/csetjmp/functions_std.cc * 18_support/headers/csetjmp/macros.cc * 18_support/headers/csetjmp/types_std.cc * 18_support/headers/csignal * 18_support/headers/csignal/functions_std.cc * 18_support/headers/csignal/macros.cc * 18_support/headers/csignal/types_std.cc * 18_support/headers/cstdarg * 18_support/headers/cstdarg/macros.cc * 18_support/headers/cstdarg/types_std.cc * 18_support/headers/cstddef * 18_support/headers/cstddef/macros.cc * 18_support/headers/cstddef/types_std.cc * 18_support/headers/cstdlib * 18_support/headers/cstdlib/functions_std.cc * 18_support/headers/cstdlib/macros.cc * 18_support/headers/ctime * 18_support/headers/ctime/functions_std.cc * 18_support/headers/ctime/macros.cc * 18_support/headers/ctime/types_std.cc * 18_support/headers/exception * 18_support/headers/exception/synopsis.cc * 18_support/headers/exception/types_std.cc * 18_support/headers/limits * 18_support/headers/limits/synopsis.cc * 18_support/headers/new * 18_support/headers/new/synopsis.cc * 18_support/headers/new/types_std.cc * 18_support/headers/typeinfo * 18_support/headers/typeinfo/synopsis.cc * 18_support/headers/typeinfo/types_std.cc * 18_support/numeric_limits/is_signed.cc * 18_support/numeric_limits/requirements * 18_support/numeric_limits/requirements/explicit_instantiation * 18_support/numeric_limits/requirements/explicit_instantiation/1.cc * 18_support/numeric_limits/specialization_default_values.cc * 19_diagnostics/headers * 19_diagnostics/headers/cassert * 19_diagnostics/headers/cassert/macros.cc * 19_diagnostics/headers/cerrno * 19_diagnostics/headers/cerrno/macros.cc * 19_diagnostics/headers/stdexcept * 19_diagnostics/headers/stdexcept/synopsis.cc * 19_diagnostics/headers/stdexcept/types_std.cc * 20_util/headers * 20_util/headers/cstdlib * 20_util/headers/cstdlib/functions_std.cc * 20_util/headers/cstring * 20_util/headers/cstring/functions_std.cc * 20_util/headers/cstring/macros.cc * 20_util/headers/cstring/types_std.cc * 20_util/headers/ctime * 20_util/headers/ctime/functions_std.cc * 20_util/headers/ctime/macros.cc * 20_util/headers/ctime/types_std.cc * 20_util/headers/functional * 20_util/headers/functional/synopsis.cc * 20_util/headers/memory * 20_util/headers/memory/synopsis.cc * 20_util/headers/utility * 20_util/headers/utility/synopsis.cc * 20_util/headers/utility/using_namespace_std_rel_ops.cc * 20_util/memory/allocator/requirements * 20_util/memory/allocator/requirements/explicit_instantiation * 20_util/memory/allocator/requirements/explicit_instantiation/1.cc * 20_util/memory/auto_ptr/requirements * 20_util/memory/auto_ptr/requirements/explicit_instantiation * 20_util/memory/auto_ptr/requirements/explicit_instantiation/1.cc * 20_util/memory/raw_storage_iterator * 20_util/memory/raw_storage_iterator/requirements * 20_util/memory/raw_storage_iterator/requirements/base_classes.cc * 20_util/memory/raw_storage_iterator/requirements/ explicit_instantiation * 20_util/memory/raw_storage_iterator/requirements/ explicit_instantiation/1.cc * 20_util/memory/raw_storage_iterator/requirements/typedefs.cc * 20_util/utility/pair/requirements * 20_util/utility/pair/requirements/explicit_instantiation * 20_util/utility/pair/requirements/explicit_instantiation/1.cc * 21_strings/basic_string/requirements * 21_strings/basic_string/requirements/explicit_instantiation * 21_strings/basic_string/requirements/explicit_instantiation/1.cc * 21_strings/basic_string/requirements/explicit_instantiation/debug.cc * 21_strings/headers * 21_strings/headers/cctype * 21_strings/headers/cctype/functions_std.cc * 21_strings/headers/cstdlib * 21_strings/headers/cstdlib/functions_std.cc * 21_strings/headers/cstdlib/macros.cc * 21_strings/headers/cstring * 21_strings/headers/cstring/functions_std.cc * 21_strings/headers/cstring/macros.cc * 21_strings/headers/cstring/types_std.cc * 21_strings/headers/cwchar * 21_strings/headers/cwchar/functions_std.cc * 21_strings/headers/cwchar/macros.cc * 21_strings/headers/cwchar/types_std.cc * 21_strings/headers/cwctype * 21_strings/headers/cwctype/functions_std.cc * 21_strings/headers/cwctype/macros.cc * 21_strings/headers/cwctype/types_std.cc * 21_strings/headers/string * 21_strings/headers/string/synopsis.cc * 21_strings/headers/string/types_std.cc * 22_locale/codecvt_byname/requirements * 22_locale/codecvt_byname/requirements/base_classes.cc * 22_locale/codecvt_byname/requirements/explicit_instantiation.cc * 22_locale/codecvt_byname/requirements/typedefs.cc * 22_locale/codecvt/requirements * 22_locale/codecvt/requirements/base_classes.cc * 22_locale/codecvt/requirements/explicit_instantiation.cc * 22_locale/codecvt/requirements/typedefs.cc * 22_locale/collate_byname/requirements * 22_locale/collate_byname/requirements/base_classes.cc * 22_locale/collate_byname/requirements/explicit_instantiation.cc * 22_locale/collate_byname/requirements/typedefs.cc * 22_locale/collate/requirements * 22_locale/collate/requirements/base_classes.cc * 22_locale/collate/requirements/explicit_instantiation.cc * 22_locale/collate/requirements/typedefs.cc * 22_locale/ctype_base/mask.cc * 22_locale/ctype/requirements * 22_locale/ctype/requirements/base_classes.cc * 22_locale/ctype/requirements/explicit_instantiation.cc * 22_locale/ctype/requirements/typedefs.cc * 22_locale/headers * 22_locale/headers/clocale * 22_locale/headers/clocale/functions_std.cc * 22_locale/headers/clocale/macros.cc * 22_locale/headers/clocale/types_std.cc * 22_locale/headers/locale * 22_locale/headers/locale/synopsis.cc * 22_locale/headers/locale/types_std.cc * 22_locale/messages_byname/requirements * 22_locale/messages_byname/requirements/base_classes.cc * 22_locale/messages_byname/requirements/explicit_instantiation.cc * 22_locale/messages_byname/requirements/typedefs.cc * 22_locale/messages/requirements * 22_locale/messages/requirements/base_classes.cc * 22_locale/messages/requirements/explicit_instantiation.cc * 22_locale/messages/requirements/typedefs.cc * 22_locale/money_get/cons * 22_locale/money_get/cons/3.cc * 22_locale/money_get/requirements * 22_locale/money_get/requirements/base_classes.cc * 22_locale/money_get/requirements/explicit_instantiations.cc * 22_locale/money_get/requirements/typedefs.cc * 22_locale/moneypunct_byname/requirements * 22_locale/moneypunct_byname/requirements/base_classes.cc * 22_locale/moneypunct_byname/requirements/explicit_instantiation.cc * 22_locale/moneypunct_byname/requirements/typedefs.cc * 22_locale/moneypunct/requirements * 22_locale/moneypunct/requirements/false * 22_locale/moneypunct/requirements/false/base_classes.cc * 22_locale/moneypunct/requirements/false/explicit_instantiation.cc * 22_locale/moneypunct/requirements/false/intl.cc * 22_locale/moneypunct/requirements/false/typedefs.cc * 22_locale/moneypunct/requirements/true * 22_locale/moneypunct/requirements/true/base_classes.cc * 22_locale/moneypunct/requirements/true/explicit_instantiation.cc * 22_locale/moneypunct/requirements/true/intl.cc * 22_locale/moneypunct/requirements/true/typedefs.cc * 22_locale/money_put/cons * 22_locale/money_put/cons/3.cc * 22_locale/money_put/requirements * 22_locale/money_put/requirements/base_classes.cc * 22_locale/money_put/requirements/explicit_instantiation.cc * 22_locale/money_put/requirements/typedefs.cc * 22_locale/num_get/cons * 22_locale/num_get/cons/3.cc * 22_locale/num_get/requirements * 22_locale/num_get/requirements/base_classes.cc * 22_locale/num_get/requirements/explicit_instantiation.cc * 22_locale/num_get/requirements/typedefs.cc * 22_locale/numpunct_byname/requirements * 22_locale/numpunct_byname/requirements/base_classes.cc * 22_locale/numpunct_byname/requirements/explicit_instantiations.cc * 22_locale/numpunct_byname/requirements/typedefs.cc * 22_locale/numpunct/requirements * 22_locale/numpunct/requirements/base_classes.cc * 22_locale/numpunct/requirements/explicit_instantiations.cc * 22_locale/numpunct/requirements/typedefs.cc * 22_locale/num_put/cons * 22_locale/num_put/cons/3.cc * 22_locale/num_put/requirements * 22_locale/num_put/requirements/base_classes.cc * 22_locale/num_put/requirements/explicit_instantiations.cc * 22_locale/num_put/requirements/typedefs.cc * 22_locale/time_get/requirements * 22_locale/time_get/requirements/base_classes.cc * 22_locale/time_get/requirements/explicit_instantiations.cc * 22_locale/time_get/requirements/typedefs.cc * 22_locale/time_put/requirements * 22_locale/time_put/requirements/base_classes.cc * 22_locale/time_put/requirements/explicit_instantiations.cc * 22_locale/time_put/requirements/typedefs.cc * 23_containers/bitset/requirements * 23_containers/bitset/requirements/explicit_instantiation * 23_containers/bitset/requirements/explicit_instantiation/1.cc * 23_containers/deque/requirements * 23_containers/deque/requirements/explicit_instantiation * 23_containers/deque/requirements/partial_specialization * 23_containers/deque/requirements/partial_specialization/1.cc * 23_containers/headers * 23_containers/headers/bitset * 23_containers/headers/bitset/synopsis.cc * 23_containers/headers/deque * 23_containers/headers/deque/synopsis.cc * 23_containers/headers/list * 23_containers/headers/list/synopsis.cc * 23_containers/headers/map * 23_containers/headers/map/synopsis.cc * 23_containers/headers/queue * 23_containers/headers/queue/synopsis.cc * 23_containers/headers/set * 23_containers/headers/set/synopsis.cc * 23_containers/headers/stack * 23_containers/headers/stack/synopsis.cc * 23_containers/headers/vector * 23_containers/headers/vector/synopsis.cc * 23_containers/list/requirements * 23_containers/list/requirements/explicit_instantiation * 23_containers/list/requirements/partial_specialization * 23_containers/list/requirements/partial_specialization/1.cc * 23_containers/map/requirements * 23_containers/map/requirements/explicit_instantiation * 23_containers/map/requirements/partial_specialization * 23_containers/map/requirements/partial_specialization/1.cc * 23_containers/multimap/requirements * 23_containers/multimap/requirements/explicit_instantiation * 23_containers/multimap/requirements/partial_specialization * 23_containers/multimap/requirements/partial_specialization/1.cc * 23_containers/multiset/requirements * 23_containers/multiset/requirements/explicit_instantiation * 23_containers/multiset/requirements/partial_specialization * 23_containers/multiset/requirements/partial_specialization/1.cc * 23_containers/priority_queue/requirements * 23_containers/priority_queue/requirements/explicit_instantiation * 23_containers/priority_queue/requirements/explicit_instantiation/1.cc * 23_containers/queue/requirements * 23_containers/queue/requirements/explicit_instantiation * 23_containers/queue/requirements/explicit_instantiation/1.cc * 23_containers/set/requirements * 23_containers/set/requirements/explicit_instantiation * 23_containers/set/requirements/partial_specialization * 23_containers/set/requirements/partial_specialization/1.cc * 23_containers/stack/requirements * 23_containers/stack/requirements/explicit_instantiation * 23_containers/stack/requirements/explicit_instantiation/1.cc * 23_containers/vector/requirements * 23_containers/vector/requirements/explicit_instantiation * 23_containers/vector/requirements/partial_specialization * 23_containers/vector/requirements/partial_specialization/1.cc * 24_iterators/back_insert_iterator * 24_iterators/back_insert_iterator/2.cc * 24_iterators/back_insert_iterator/requirements * 24_iterators/back_insert_iterator/requirements/base_classes.cc * 24_iterators/back_insert_iterator/requirements/container.cc * 24_iterators/back_insert_iterator/requirements/ explicit_instantiation.cc * 24_iterators/back_insert_iterator/requirements/typedefs.cc * 24_iterators/front_insert_iterator * 24_iterators/front_insert_iterator/2.cc * 24_iterators/front_insert_iterator/requirements * 24_iterators/front_insert_iterator/requirements/base_classes.cc * 24_iterators/front_insert_iterator/requirements/container.cc * 24_iterators/front_insert_iterator/requirements/ explicit_instantiation.cc * 24_iterators/front_insert_iterator/requirements/typedefs.cc * 24_iterators/headers * 24_iterators/headers/iterator * 24_iterators/headers/iterator/synopsis.cc * 24_iterators/headers/iterator/types_std.cc * 24_iterators/insert_iterator * 24_iterators/insert_iterator/2.cc * 24_iterators/insert_iterator/requirements * 24_iterators/insert_iterator/requirements/base_classes.cc * 24_iterators/insert_iterator/requirements/container.cc * 24_iterators/insert_iterator/requirements/explicit_instantiation.cc * 24_iterators/insert_iterator/requirements/typedefs.cc * 24_iterators/istreambuf_iterator/requirements * 24_iterators/istreambuf_iterator/requirements/base_classes.cc * 24_iterators/istreambuf_iterator/requirements/ explicit_instantiation.cc * 24_iterators/istreambuf_iterator/requirements/typedefs.cc * 24_iterators/istream_iterator * 24_iterators/istream_iterator/2.cc * 24_iterators/istream_iterator/requirements * 24_iterators/istream_iterator/requirements/base_classes.cc * 24_iterators/istream_iterator/requirements/explicit_instantiation.cc * 24_iterators/istream_iterator/requirements/typedefs.cc * 24_iterators/ostreambuf_iterator/requirements * 24_iterators/ostreambuf_iterator/requirements/base_classes.cc * 24_iterators/ostreambuf_iterator/requirements/ explicit_instantiation.cc * 24_iterators/ostreambuf_iterator/requirements/typedefs.cc * 24_iterators/ostream_iterator * 24_iterators/ostream_iterator/requirements * 24_iterators/ostream_iterator/requirements/base_classes.cc * 24_iterators/ostream_iterator/requirements/explicit_instantiation.cc * 24_iterators/ostream_iterator/requirements/typedefs.cc * 24_iterators/random_access_iterator * 24_iterators/random_access_iterator/26020.cc * 24_iterators/random_access_iterator/string_vector_iterators.cc * 24_iterators/reverse_iterator/requirements * 24_iterators/reverse_iterator/requirements/base_classes.cc * 24_iterators/reverse_iterator/requirements/current.cc * 24_iterators/reverse_iterator/requirements/explicit_instantiation.cc * 24_iterators/reverse_iterator/requirements/typedefs.cc * 25_algorithms/headers * 25_algorithms/headers/algorithm * 25_algorithms/headers/algorithm/synopsis.cc * 25_algorithms/headers/cstdlib * 25_algorithms/headers/cstdlib/functions_std.cc * 26_numerics/headers * 26_numerics/headers/cmath * 26_numerics/headers/cmath/19322.cc * 26_numerics/headers/cmath/c99_classification_macros_c.cc * 26_numerics/headers/cmath/c99_classification_macros_c++.cc * 26_numerics/headers/cmath/c_math.cc * 26_numerics/headers/cmath/c_math_dynamic.cc * 26_numerics/headers/cmath/fabs_inline.cc * 26_numerics/headers/cmath/functions_std.cc * 26_numerics/headers/cmath/macros.cc * 26_numerics/headers/cmath/overloads.cc * 26_numerics/headers/cmath/powi.cc * 26_numerics/headers/complex * 26_numerics/headers/complex/synopsis.cc * 26_numerics/headers/cstdlib * 26_numerics/headers/cstdlib/13943.cc * 26_numerics/headers/cstdlib/2190.cc * 26_numerics/headers/cstdlib/functions_std.cc * 26_numerics/headers/cstdlib/macros.cc * 26_numerics/headers/cstdlib/types_std.cc * 26_numerics/headers/numeric * 26_numerics/headers/numeric/synopsis.cc * 26_numerics/headers/valarray * 26_numerics/headers/valarray/synopsis.cc * 26_numerics/headers/valarray/types_std.cc * 26_numerics/numeric_arrays * 26_numerics/numeric_operations * 27_io/basic_filebuf/cons/2020.cc * 27_io/basic_filebuf/requirements * 27_io/basic_filebuf/requirements/base_classes.cc * 27_io/basic_filebuf/requirements/explicit_instantiation.cc * 27_io/basic_filebuf/requirements/typedefs.cc * 27_io/basic_fstream/cons * 27_io/basic_fstream/cons/3.cc * 27_io/basic_fstream/requirements * 27_io/basic_fstream/requirements/base_classes.cc * 27_io/basic_fstream/requirements/explicit_instantiation.cc * 27_io/basic_fstream/requirements/typedefs.cc * 27_io/basic_ifstream/cons/2020.cc * 27_io/basic_ifstream/requirements * 27_io/basic_ifstream/requirements/base_classes.cc * 27_io/basic_ifstream/requirements/explicit_instantiation.cc * 27_io/basic_ifstream/requirements/typedefs.cc * 27_io/basic_ios/cons/2020.cc * 27_io/basic_ios/requirements * 27_io/basic_ios/requirements/base_classes.cc * 27_io/basic_ios/requirements/explicit_instantiation.cc * 27_io/basic_ios/requirements/typedefs.cc * 27_io/basic_iostream/cons * 27_io/basic_iostream/cons/2020.cc * 27_io/basic_iostream/requirements * 27_io/basic_iostream/requirements/base_classes.cc * 27_io/basic_iostream/requirements/explicit_instantiation.cc * 27_io/basic_iostream/requirements/typedefs.cc * 27_io/basic_istream/cons * 27_io/basic_istream/cons/3.cc * 27_io/basic_istream/requirements * 27_io/basic_istream/requirements/base_classes.cc * 27_io/basic_istream/requirements/explicit_instantiation.cc * 27_io/basic_istream/requirements/typedefs.cc * 27_io/basic_istringstream/cons * 27_io/basic_istringstream/cons/2020.cc * 27_io/basic_istringstream/requirements * 27_io/basic_istringstream/requirements/base_classes.cc * 27_io/basic_istringstream/requirements/explicit_instantiation.cc * 27_io/basic_istringstream/requirements/typedefs.cc * 27_io/basic_ofstream/cons/2020.cc * 27_io/basic_ofstream/requirements * 27_io/basic_ofstream/requirements/base_classes.cc * 27_io/basic_ofstream/requirements/explicit_instantiations.cc * 27_io/basic_ofstream/requirements/typedefs.cc * 27_io/basic_ostream/cons/2020.cc * 27_io/basic_ostream/requirements * 27_io/basic_ostream/requirements/base_classes.cc * 27_io/basic_ostream/requirements/explicit_instantiation.cc * 27_io/basic_ostream/requirements/typedefs.cc * 27_io/basic_ostringstream/cons/2020.cc * 27_io/basic_ostringstream/requirements * 27_io/basic_ostringstream/requirements/base_classes.cc * 27_io/basic_ostringstream/requirements/explicit_instantiation.cc * 27_io/basic_ostringstream/requirements/typedefs.cc * 27_io/basic_streambuf/cons/2020.cc * 27_io/basic_streambuf/requirements * 27_io/basic_streambuf/requirements/base_classes.cc * 27_io/basic_streambuf/requirements/typedefs.cc * 27_io/basic_stringbuf/cons/2020.cc * 27_io/basic_stringbuf/requirements * 27_io/basic_stringbuf/requirements/base_classes.cc * 27_io/basic_stringbuf/requirements/explicit_instantiation * 27_io/basic_stringbuf/requirements/explicit_instantiation/2.cc * 27_io/basic_stringbuf/requirements/explicit_instantiation/4.cc * 27_io/basic_stringbuf/requirements/typedefs.cc * 27_io/basic_stringstream/cons * 27_io/basic_stringstream/cons/2020.cc * 27_io/basic_stringstream/requirements * 27_io/basic_stringstream/requirements/base_classes.cc * 27_io/basic_stringstream/requirements/explicit_instantiation.cc * 27_io/basic_stringstream/requirements/typedefs.cc * 27_io/fpos/requirements * 27_io/fpos/requirements/explicit_instantiation.cc * 27_io/headers * 27_io/headers/cstdio * 27_io/headers/cstdio/functions_std.cc * 27_io/headers/cstdio/macros.cc * 27_io/headers/cstdio/types_std.cc * 27_io/headers/cstdlib * 27_io/headers/fstream * 27_io/headers/fstream/synopsis.cc * 27_io/headers/fstream/types_std.cc * 27_io/headers/iomanip * 27_io/headers/iomanip/synopsis.cc * 27_io/headers/ios * 27_io/headers/ios/synopsis.cc * 27_io/headers/iostream * 27_io/headers/iostream/synopsis.cc * 27_io/headers/iostream/types_std.cc * 27_io/headers/ios/types_std.cc * 27_io/headers/istream * 27_io/headers/istream/synopsis.cc * 27_io/headers/istream/types_std.cc * 27_io/headers/ostream * 27_io/headers/ostream/synopsis.cc * 27_io/headers/ostream/types_std.cc * 27_io/headers/sstream * 27_io/headers/sstream/synopsis.cc * 27_io/headers/sstream/types_std.cc * 27_io/headers/streambuf * 27_io/headers/streambuf/synopsis.cc * 27_io/headers/streambuf/types_std.cc * ext/debug_allocator/explicit_instantiation.cc * ext/hash_map/requirements * ext/hash_map/requirements/explicit_instantiation.cc * ext/hash_set/requirements * ext/hash_set/requirements/explicit_instantiation.cc * ext/malloc_allocator/explicit_instantiation.cc * ext/mt_allocator/explicit_instantiation.cc * ext/pool_allocator/explicit_instantiation.cc * ext/slist/requirements * ext/slist/requirements/explicit_instantiation.cc * ext/stdio_filebuf/requirements * ext/stdio_filebuf/requirements/explicit_instantiation.cc * ext/vstring/requirements * ext/vstring/requirements/explicit_instantiation * tr1/2_general_utilities/headers * tr1/2_general_utilities/headers/functional * tr1/2_general_utilities/headers/functional/synopsis.cc * tr1/2_general_utilities/headers/memory * tr1/2_general_utilities/headers/memory/synopsis.cc * tr1/2_general_utilities/headers/memory/types_std_tr1.cc * tr1/2_general_utilities/memory/enable_shared_from_this/requirements * tr1/2_general_utilities/memory/enable_shared_from_this/ requirements/explicit_instantiation * tr1/2_general_utilities/memory/shared_ptr/requirements * tr1/2_general_utilities/memory/shared_ptr/requirements/ explicit_instantiation * tr1/2_general_utilities/memory/weak_ptr/requirements * tr1/2_general_utilities/memory/weak_ptr/requirements/ explicit_instantiation * tr1/3_function_objects/headers * tr1/3_function_objects/headers/functional * tr1/3_function_objects/headers/functional/synopsis.cc * tr1/3_function_objects/headers/functional/types_std_tr1.cc * tr1/3_function_objects/headers/functional/ using_namespace_std_tr1_placeholders.cc * tr1/4_metaprogramming/headers * tr1/4_metaprogramming/headers/type_traits * tr1/4_metaprogramming/headers/type_traits/synopsis.cc * tr1/4_metaprogramming/headers/type_traits/types_std_tr1.cc * tr1/5_numerical_facilities/headers * tr1/5_numerical_facilities/headers/random * tr1/5_numerical_facilities/headers/random/synopsis.cc * tr1/5_numerical_facilities/headers/random/types_std_tr1.cc * tr1/5_numerical_facilities/random/discard_block/ requirements/typedefs.cc * tr1/6_containers/array/requirements/explicit_instantiation.cc * tr1/6_containers/hash * tr1/6_containers/hash/requirements * tr1/6_containers/hash/requirements/base_classes.cc * tr1/6_containers/hash/requirements/explicit_instantiation.cc * tr1/6_containers/headers * tr1/6_containers/headers/array * tr1/6_containers/headers/array/synopsis.cc * tr1/6_containers/headers/functional * tr1/6_containers/headers/functional/synopsis.cc * tr1/6_containers/headers/tuple * tr1/6_containers/headers/tuple/synopsis.cc * tr1/6_containers/headers/tuple/types_std_tr1.cc * tr1/6_containers/headers/unordered_map * tr1/6_containers/headers/unordered_map/synopsis.cc * tr1/6_containers/headers/unordered_set * tr1/6_containers/headers/unordered_set/synopsis.cc * tr1/6_containers/tuple/requirements * tr1/6_containers/tuple/requirements/explicit_instantiation.cc * tr1/6_containers/unordered_map * tr1/6_containers/unordered_map/24064.cc * tr1/6_containers/unordered_map/capacity * tr1/6_containers/unordered_map/capacity/29134-map.cc * tr1/6_containers/unordered_map/erase * tr1/6_containers/unordered_map/erase/24061-map.cc * tr1/6_containers/unordered_map/find * tr1/6_containers/unordered_map/find/map1.cc * tr1/6_containers/unordered_map/insert * tr1/6_containers/unordered_map/insert/24061-map.cc * tr1/6_containers/unordered_map/insert/array_syntax.cc * tr1/6_containers/unordered_map/insert/map_range.cc * tr1/6_containers/unordered_map/insert/map_single.cc * tr1/6_containers/unordered_map/requirements * tr1/6_containers/unordered_map/requirements/explicit_instantiation.cc * tr1/6_containers/unordered_map/requirements/iterator_neg.cc * tr1/6_containers/unordered_map/requirements/iterator_null_neg.cc * tr1/6_containers/unordered_map/swap * tr1/6_containers/unordered_map/swap/1.cc * tr1/6_containers/unordered_map/swap/2.cc * tr1/6_containers/unordered_multimap * tr1/6_containers/unordered_multimap/capacity * tr1/6_containers/unordered_multimap/capacity/29134-multimap.cc * tr1/6_containers/unordered_multimap/erase * tr1/6_containers/unordered_multimap/erase/24061-multimap.cc * tr1/6_containers/unordered_multimap/find * tr1/6_containers/unordered_multimap/find/multimap1.cc * tr1/6_containers/unordered_multimap/insert * tr1/6_containers/unordered_multimap/insert/24061-multimap.cc * tr1/6_containers/unordered_multimap/insert/multimap_range.cc * tr1/6_containers/unordered_multimap/insert/multimap_single.cc * tr1/6_containers/unordered_multimap/requirements * tr1/6_containers/unordered_multimap/requirements/ explicit_instantiation.cc * tr1/6_containers/unordered_multimap/requirements/iterator_neg.cc * tr1/6_containers/unordered_multimap/requirements/iterator_null_neg.cc * tr1/6_containers/unordered_multimap/swap * tr1/6_containers/unordered_multimap/swap/1.cc * tr1/6_containers/unordered_multimap/swap/2.cc * tr1/6_containers/unordered_multiset * tr1/6_containers/unordered_multiset/24054.cc * tr1/6_containers/unordered_multiset/capacity * tr1/6_containers/unordered_multiset/capacity/29134-multiset.cc * tr1/6_containers/unordered_multiset/erase * tr1/6_containers/unordered_multiset/erase/24061-multiset.cc * tr1/6_containers/unordered_multiset/find * tr1/6_containers/unordered_multiset/find/multiset1.cc * tr1/6_containers/unordered_multiset/insert * tr1/6_containers/unordered_multiset/insert/24061-multiset.cc * tr1/6_containers/unordered_multiset/insert/multiset_range.cc * tr1/6_containers/unordered_multiset/insert/multiset_single.cc * tr1/6_containers/unordered_multiset/requirements * tr1/6_containers/unordered_multiset/requirements/ explicit_instantiation.cc * tr1/6_containers/unordered_multiset/requirements/iterator_neg.cc * tr1/6_containers/unordered_multiset/requirements/iterator_null_neg.cc * tr1/6_containers/unordered_multiset/swap * tr1/6_containers/unordered_multiset/swap/1.cc * tr1/6_containers/unordered_multiset/swap/2.cc * tr1/6_containers/unordered_set * tr1/6_containers/unordered_set/23053.cc * tr1/6_containers/unordered_set/23465.cc * tr1/6_containers/unordered_set/26127.cc * tr1/6_containers/unordered_set/26132.cc * tr1/6_containers/unordered_set/capacity * tr1/6_containers/unordered_set/capacity/29134-set.cc * tr1/6_containers/unordered_set/erase * tr1/6_containers/unordered_set/erase/24061-set.cc * tr1/6_containers/unordered_set/find * tr1/6_containers/unordered_set/find/set1.cc * tr1/6_containers/unordered_set/insert * tr1/6_containers/unordered_set/insert/24061-set.cc * tr1/6_containers/unordered_set/insert/set_range.cc * tr1/6_containers/unordered_set/insert/set_single.cc * tr1/6_containers/unordered_set/requirements * tr1/6_containers/unordered_set/requirements/explicit_instantiation.cc * tr1/6_containers/unordered_set/requirements/iterator_neg.cc * tr1/6_containers/unordered_set/requirements/iterator_null_neg.cc * tr1/6_containers/unordered_set/requirements/ iterators_default_constructor.cc * tr1/6_containers/unordered_set/swap * tr1/6_containers/unordered_set/swap/1.cc * tr1/6_containers/unordered_set/swap/2.cc * tr1/using_namespace_std_tr1.cc Deleted: * 17_intro/header_cassert.cc * 17_intro/header_cerrno.cc * 17_intro/header_csetjmp.cc * 17_intro/header_cstdarg.cc * 17_intro/header_cstddef.cc * 17_intro/header_cstdio.cc * 17_intro/header_cstdlib.cc * 17_intro/header_cstring.cc * 17_intro/header_ctime.cc * 17_intro/header_cwchar.cc * 17_intro/header_cwctype.cc * 17_intro/header_fstream.cc * 17_intro/header_iomanip.cc * 17_intro/header_ios.cc * 17_intro/header_iosfwd.cc * 17_intro/header_iostream.cc * 17_intro/header_istream.cc * 17_intro/header_ostream.cc * 17_intro/headers.cc * 17_intro/headers_c++_c++0x_compat.cc * 17_intro/headers_c.cc * 17_intro/headers_c++.cc * 17_intro/header_sstream.cc * 17_intro/header_streambuf.cc * 17_intro/no_assert_neg.cc * 18_support/numeric_limits/sign.cc * 18_support/numeric_limits/specialization.cc * 20_util/memory/raw_storage_iterator.cc * 21_strings/basic_string/1.cc * 21_strings/basic_string/2.cc * 22_locale/codecvt/1.cc * 22_locale/codecvt/2.cc * 22_locale/codecvt_byname/1.cc * 22_locale/collate/1.cc * 22_locale/collate/2.cc * 22_locale/collate_byname/1.cc * 22_locale/ctype/1.cc * 22_locale/ctype_base/1.cc * 22_locale/messages/1.cc * 22_locale/messages/2.cc * 22_locale/messages_byname/1.cc * 22_locale/money_get/1.cc * 22_locale/money_get/2.cc * 22_locale/money_get/3.cc * 22_locale/moneypunct/1.cc * 22_locale/moneypunct/2.cc * 22_locale/moneypunct/3.cc * 22_locale/moneypunct_byname/1.cc * 22_locale/money_put/1.cc * 22_locale/money_put/2.cc * 22_locale/money_put/3.cc * 22_locale/num_get/1.cc * 22_locale/num_get/2.cc * 22_locale/num_get/3.cc * 22_locale/numpunct/1.cc * 22_locale/numpunct/2.cc * 22_locale/numpunct_byname/1.cc * 22_locale/num_put/1.cc * 22_locale/num_put/2.cc * 22_locale/num_put/3.cc * 22_locale/time_get/1.cc * 22_locale/time_get/2.cc * 22_locale/time_put/1.cc * 22_locale/time_put/2.cc * 23_containers/deque/1.cc * 23_containers/deque/explicit_instantiation * 23_containers/deque/explicit_instantiation/1.cc * 23_containers/deque/explicit_instantiation/2.cc * 23_containers/deque/explicit_instantiation/3.cc * 23_containers/list/1.cc * 23_containers/list/explicit_instantiation * 23_containers/list/explicit_instantiation/1.cc * 23_containers/list/explicit_instantiation/2.cc * 23_containers/list/explicit_instantiation/3.cc * 23_containers/map/1.cc * 23_containers/map/explicit_instantiation * 23_containers/map/explicit_instantiation/1.cc * 23_containers/map/explicit_instantiation/2.cc * 23_containers/map/explicit_instantiation/3.cc * 23_containers/multimap/1.cc * 23_containers/multimap/explicit_instantiation * 23_containers/multimap/explicit_instantiation/1.cc * 23_containers/multimap/explicit_instantiation/2.cc * 23_containers/multimap/explicit_instantiation/3.cc * 23_containers/multiset/1.cc * 23_containers/multiset/explicit_instantiation * 23_containers/multiset/explicit_instantiation/1.cc * 23_containers/multiset/explicit_instantiation/2.cc * 23_containers/multiset/explicit_instantiation/3.cc * 23_containers/set/1.cc * 23_containers/set/explicit_instantiation * 23_containers/set/explicit_instantiation/1.cc * 23_containers/set/explicit_instantiation/2.cc * 23_containers/set/explicit_instantiation/3.cc * 23_containers/vector/1.cc * 23_containers/vector/explicit_instantiation * 23_containers/vector/explicit_instantiation/1.cc * 23_containers/vector/explicit_instantiation/2.cc * 23_containers/vector/explicit_instantiation/3.cc * 24_iterators/26020.cc * 24_iterators/back_insert_iterator.cc * 24_iterators/front_insert_iterator.cc * 24_iterators/insert_iterator.cc * 24_iterators/istreambuf_iterator/1.cc * 24_iterators/istream_iterator.cc * 24_iterators/iterator.cc * 24_iterators/ostreambuf_iterator/1.cc * 24_iterators/ostream_iterator.cc * 24_iterators/reverse_iterator/1.cc * 26_numerics/cmath * 26_numerics/cmath/19322.cc * 26_numerics/cmath/c99_classification_macros_c.cc * 26_numerics/cmath/c99_classification_macros_c++.cc * 26_numerics/cmath/c_math.cc * 26_numerics/cmath/c_math_dynamic.cc * 26_numerics/cmath/fabs_inline.cc * 26_numerics/cmath/overloads.cc * 26_numerics/cmath/powi.cc * 26_numerics/cstdlib * 26_numerics/cstdlib/13943.cc * 26_numerics/numeric * 26_numerics/numeric/sum_diff.cc * 26_numerics/valarray * 26_numerics/valarray/27867.cc * 26_numerics/valarray/28277.cc * 26_numerics/valarray/30416.cc * 26_numerics/valarray/binary_closure.cc * 26_numerics/valarray/dr543.cc * 26_numerics/valarray/slice_array_assignment.cc * 26_numerics/valarray/slice.cc * 26_numerics/valarray/valarray.cc * 26_numerics/valarray/valarray_const_bracket.cc * 26_numerics/valarray/valarray_name_lookup.cc * 26_numerics/valarray/valarray_operators.cc * 26_numerics/valarray/valarray_subset_assignment.cc * 27_io/basic_filebuf/1.cc * 27_io/basic_filebuf/2.cc * 27_io/basic_filebuf/3.cc * 27_io/basic_filebuf/4.cc * 27_io/basic_fstream/1.cc * 27_io/basic_fstream/2.cc * 27_io/basic_fstream/3.cc * 27_io/basic_fstream/4.cc * 27_io/basic_ifstream/1.cc * 27_io/basic_ifstream/2.cc * 27_io/basic_ifstream/3.cc * 27_io/basic_ifstream/4.cc * 27_io/basic_ios/1.cc * 27_io/basic_ios/2.cc * 27_io/basic_ios/3.cc * 27_io/basic_ios/4.cc * 27_io/basic_iostream/1.cc * 27_io/basic_iostream/2.cc * 27_io/basic_iostream/3.cc * 27_io/basic_iostream/4.cc * 27_io/basic_istream/1.cc * 27_io/basic_istream/2.cc * 27_io/basic_istream/3.cc * 27_io/basic_istream/4.cc * 27_io/basic_istringstream/1.cc * 27_io/basic_istringstream/2.cc * 27_io/basic_istringstream/3.cc * 27_io/basic_istringstream/4.cc * 27_io/basic_ofstream/1.cc * 27_io/basic_ofstream/2.cc * 27_io/basic_ofstream/3.cc * 27_io/basic_ofstream/4.cc * 27_io/basic_ostream/1.cc * 27_io/basic_ostream/2.cc * 27_io/basic_ostream/3.cc * 27_io/basic_ostream/4.cc * 27_io/basic_ostringstream/1.cc * 27_io/basic_ostringstream/2.cc * 27_io/basic_ostringstream/3.cc * 27_io/basic_ostringstream/4.cc * 27_io/basic_streambuf/1.cc * 27_io/basic_streambuf/2.cc * 27_io/basic_streambuf/3.cc * 27_io/basic_stringbuf/1.cc * 27_io/basic_stringbuf/2.cc * 27_io/basic_stringbuf/3.cc * 27_io/basic_stringbuf/4.cc * 27_io/basic_stringbuf/5.cc * 27_io/basic_stringstream/1.cc * 27_io/basic_stringstream/2.cc * 27_io/basic_stringstream/3.cc * 27_io/basic_stringstream/4.cc * 27_io/fpos/1.cc * ext/debug_allocator/instantiate.cc * ext/hash_map/instantiate.cc * ext/hash_set/instantiate.cc * ext/malloc_allocator/instantiate.cc * ext/mt_allocator/instantiate.cc * ext/pool_allocator/instantiate.cc * ext/slist/instantiate.cc * ext/stdio_filebuf/char/1.cc * ext/vstring/explicit_instantiation * ext/vstring/explicit_instantiation/1.cc * ext/vstring/explicit_instantiation/2.cc * ext/vstring/explicit_instantiation/char * ext/vstring/explicit_instantiation/char/1.cc * ext/vstring/explicit_instantiation/wchar_t * ext/vstring/explicit_instantiation/wchar_t/1.cc * tr1/2_general_utilities/memory/enable_shared_from_this/ explicit_instantiation * tr1/2_general_utilities/memory/enable_shared_from_this/ explicit_instantiation/1.cc * tr1/2_general_utilities/memory/shared_ptr/explicit_instantiation * tr1/2_general_utilities/memory/shared_ptr/explicit_instantiation/1.cc * tr1/2_general_utilities/memory/weak_ptr/explicit_instantiation * tr1/2_general_utilities/memory/weak_ptr/explicit_instantiation/1.cc * tr1/5_numerical_facilities/random/discard_block/requirements/ requirements.cc * tr1/6_containers/array/requirements/instantiate.cc * tr1/6_containers/unordered * tr1/6_containers/unordered/23781.cc * tr1/6_containers/unordered/capacity * tr1/6_containers/unordered/capacity/29134-map.cc * tr1/6_containers/unordered/capacity/29134-multimap.cc * tr1/6_containers/unordered/capacity/29134-multiset.cc * tr1/6_containers/unordered/capacity/29134-set.cc * tr1/6_containers/unordered/erase * tr1/6_containers/unordered/erase/24061-map.cc * tr1/6_containers/unordered/erase/24061-multimap.cc * tr1/6_containers/unordered/erase/24061-multiset.cc * tr1/6_containers/unordered/erase/24061-set.cc * tr1/6_containers/unordered/find * tr1/6_containers/unordered/find/map1.cc * tr1/6_containers/unordered/find/multimap1.cc * tr1/6_containers/unordered/find/multiset1.cc * tr1/6_containers/unordered/find/set1.cc * tr1/6_containers/unordered/hash * tr1/6_containers/unordered/hash/24799.cc * tr1/6_containers/unordered/hashtable * tr1/6_containers/unordered/hashtable/23053.cc * tr1/6_containers/unordered/hashtable/23465.cc * tr1/6_containers/unordered/hashtable/24054.cc * tr1/6_containers/unordered/hashtable/24064.cc * tr1/6_containers/unordered/hashtable/26127.cc * tr1/6_containers/unordered/hashtable/26132.cc * tr1/6_containers/unordered/hashtable/iterators_default_constructor.cc * tr1/6_containers/unordered/insert * tr1/6_containers/unordered/insert/24061-map.cc * tr1/6_containers/unordered/insert/24061-multimap.cc * tr1/6_containers/unordered/insert/24061-multiset.cc * tr1/6_containers/unordered/insert/24061-set.cc * tr1/6_containers/unordered/insert/array_syntax.cc * tr1/6_containers/unordered/insert/map_range.cc * tr1/6_containers/unordered/insert/map_single.cc * tr1/6_containers/unordered/insert/multimap_range.cc * tr1/6_containers/unordered/insert/multimap_single.cc * tr1/6_containers/unordered/insert/multiset_range.cc * tr1/6_containers/unordered/insert/multiset_single.cc * tr1/6_containers/unordered/insert/set_range.cc * tr1/6_containers/unordered/insert/set_single.cc * tr1/6_containers/unordered/instantiate * tr1/6_containers/unordered/instantiate/hash.cc * tr1/6_containers/unordered/instantiate/map.cc * tr1/6_containers/unordered/instantiate/multimap.cc * tr1/6_containers/unordered/instantiate/multiset.cc * tr1/6_containers/unordered/instantiate/set.cc * tr1/6_containers/unordered/swap * tr1/6_containers/unordered/swap/unordered_map * tr1/6_containers/unordered/swap/unordered_map/1.cc * tr1/6_containers/unordered/swap/unordered_map/2.cc * tr1/6_containers/unordered/swap/unordered_multimap * tr1/6_containers/unordered/swap/unordered_multimap/1.cc * tr1/6_containers/unordered/swap/unordered_multimap/2.cc * tr1/6_containers/unordered/swap/unordered_multiset * tr1/6_containers/unordered/swap/unordered_multiset/1.cc * tr1/6_containers/unordered/swap/unordered_multiset/2.cc * tr1/6_containers/unordered/swap/unordered_set * tr1/6_containers/unordered/swap/unordered_set/1.cc * tr1/6_containers/unordered/swap/unordered_set/2.cc * tr1/6_containers/unordered/types * tr1/6_containers/unordered/types/map_iterator.cc * tr1/6_containers/unordered/types/multimap_iterator.cc * tr1/6_containers/unordered/types/multiset_iterator.cc * tr1/6_containers/unordered/types/set_iterator.cc * 24_iterators/reverse_iterator/2.cc: To just one non-requirements test. * ext/headers.cc: Add new includes. 2007-02-18 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (partial) * include/bits/stl_algobase.h: Do not include <climits>, use std::numeric_limits. * include/bits/stl_bvector.h: Use __CHAR_BIT__. * config/locale/gnu/codecvt_members.cc: Include <climits>. * config/locale/generic/codecvt_members.cc: Likewise. * include/std/string: Do not include <algorithm>; do not include <memory>, include <bits/allocator.h> instead. * include/ext/vstring_fwd.h: Likewise. * include/ext/vstring_util.h: Do not include <algorithm>. * include/tr1/hashtable_policy.h: Include <algorithm>. * testsuite/21_strings/basic_string/replace/char/1.cc: Likewise. * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Likewise. * testsuite/23_containers/bitset/cons/1.cc: Likewise. * testsuite/util/testsuite_character.h: Likewise. * config/locale/gnu/codecvt_members.cc: Also include <cstdlib>, for MB_CUR_MAX. * config/locale/generic/codecvt_members.cc: Likewise. From-SVN: r122168 |
||
Richard Sandiford
|
a5ea7a0be7 |
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_lax_strtofp) (check_effective_target_dummy_wcsftime): New functions. libstdc++-v3/testsuite/ * 22_locale/time_put/put/wchar_t/1.cc: XFAIL if dummy_wcsftime. * 22_locale/time_put/put/wchar_t/5.cc: Likewise. * 22_locale/time_put/put/wchar_t/9.cc: Likewise. * 22_locale/time_put/put/wchar_t/10.cc: Likewise. * 22_locale/num_get/get/wchar_t/2.cc: XFAIL if lax_strtofp. * 22_locale/num_get/get/char/2.cc: Likewise. * 27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc: Likewise. * 27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc: Likewise. * 27_io/basic_istream/extractors_arithmetic/char/12.cc: Likewise. * 27_io/basic_istream/extractors_arithmetic/char/09.cc: Likewise. * 27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc: Likewise. * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: Likewise. * 26_numerics/cmath/c99_classification_macros_c++.cc: XFAIL for uClibc. * 26_numerics/cmath/c99_classification_macros_c.cc: Likewise. From-SVN: r121749 |
||
Paolo Carlini
|
8e76821485 |
re PR libstdc++/30416 (SIGSEGV in valarray::cshift(n) on empty array)
2007-01-12 Paolo Carlini <pcarlini@suse.de> PR libstdc++/30416 * include/std/valarray (valarray<>::shift, valarray<>::cshift): Do not segfault when |n| > size. * testsuite/26_numerics/valarray/30416.cc: New. From-SVN: r120720 |
||
Paolo Carlini
|
4091894c31 |
DR 543, [Ready].
2006-12-05 Paolo Carlini <pcarlini@suse.de> DR 543, [Ready]. * include/bits/slice_array.h (slice::slice()): Implement the resolution. * include/bits/gslice.h (gslice::_Indexer::_Indexer()): Add. (gslice::gslice()): Use it. * testsuite/26_numerics/valarray/dr543.cc: New. * docs/html/ext/howto.html: Add an entry for DR 543. From-SVN: r119552 |
||
Joseph Myers
|
30cc554051 |
13450.cc: Do not test long double in IBM long double case.
* testsuite/26_numerics/complex/13450.cc: Do not test long double in IBM long double case. From-SVN: r118814 |
||
Paolo Carlini
|
22d67c60fa |
PR libstdc++/28277 (partial: valarray bits)
2006-07-16 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28277 (partial: valarray bits) * include/std/std_valarray.h (valarray<>::shift(int), valarray<>::cshift(int)): Avoid __builtin_alloca with no limit, do the work in place. * testsuite/26_numerics/valarray/28277.cc: New. From-SVN: r115501 |
||
Paolo Carlini
|
0701ea2e18 |
re PR libstdc++/27867 (compile error in repeated application of valarray<>::operator==)
2006-06-04 Paolo Carlini <pcarlini@suse.de> PR libstdc++/27867 * include/bits/valarray_before.h (struct _BinClos<_Oper, _ValArray, _ValArray, _Tp, _Tp>): Fix value_type typedef. * testsuite/26_numerics/valarray/27867.cc: New. From-SVN: r114356 |
||
Chris Jefferson
|
8b5bc374b1 |
mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter.
2005-12-26 Chris Jefferson <chris@bubblescope.net> * include/ext/mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter. * include/bits/stream_iterator.h (istream_iterator::istream_iterator): Construct _M_value. * include/debug/functions.h (__check_valid_range): Add __attribute__((unused)). * include/tr1/hashtable (hashtable::end): Remove name of unused parameter. * include/tr1/tuple_iterate.h (tuple::tuple): Likewise. (tuple::operator=): Add __attribute__((unused)). * include/tr1/functional (Fnv_hash<4>::hash): Add static_cast. (Fnv_hash<8>::hash): Likewise. * testsuite/25_algorithms/iter_swap/20577.cc (swap): Remove name of unused parameter. * testsuite/25_algorithms/unique_copy/check_type.cc (S2::S2,X2::X2): Likewise. * testsuite/22_locale/ctype/narrow/char/19955.cc (do_narrow): Likewise. * testsuite/22_locale/ctype/is/char/9858.cc (Derived::do_is, Derived::do_scan_is, Derived::do_scan_not, Derived2::do_is, Derived2::do_scan_is, Derived2::do_scan_not): Likewise. * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc (TP::do_put): Likewise. * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc (TP::do_put): Likewise. * testsuite/22_locale/time_put/put/char/12439_1.cc (TP::do_put): Likewise. * testsuite/22_locale/time_put/put/char/12439_3.cc (TP::do_put): Likewise. * testsuite/testsuite_io.h (fail_num_get::do_get, fail_num_put::do_put): Likewise. * testsuite/25_algorithms/find/17441.cc (find): Likewise. * testsuite/23_containers/vector/cons/clear_allocator.cc (clear_alloc::clear_alloc): Likewise. * testsuite/23_containers/vector/bool/clear_allocator.cc (clear_alloc::clear_alloc): Likewise. * testsuite/23_containers/list/cons/clear_allocator.cc (clear_alloc::clear_alloc): Likewise. * testsuite/23_containers/set/modifiers/16728.cc (test_container): Likewise. * testsuite/27_io/basic_ios/cons/char/3.cc (char_traits::to_char_type, to_int_type): Likewise. * testsuite/27_io/basic_filebuf/imbue/12206.cc (codecvt::do_out, do_in, do_unshift, do_length): Likewise. * testsuite/21_strings/basic_string/capacity/1.cc (operator==(A<T>,A<T>), operator<(A<T>,A<T>), char_traits::to_char_type, char_traits::to_int_type): Likewise * testsuite/testsuite_character.h (ctype::do_is, ctype::do_scan_is, ctype::do_scan_not, do_toupper, do_tolower): Likewise. * testsuite/25_algorithms/replace_copy/check_type.cc (Z::operator=): Add missing return statement. * testsuite/25_algorithms/replace_copy_if/check_type.cc (Z::operator=): Likewise. * testsuite/testsuite_iterators.h (output_iterator_wrapper::operator=, random_access_iterator_wrapper::operator==): Likewise. * testsuite/20_util/functional/binders/1.cc (s::f_int_int_const, s::f_int_int, s::f_int_void_const, s::f_int_void): Likewise. * testsuite/27_io/types/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/write/wchar_t/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/write/char/1.cc (test01): Likewise. * testsuite/21_strings/c_strings/wchar_t/24559.cc (main): Likewise. * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc (check): Add static cast. * testsuite/27_io/basic_istream/ignore/char/2.cc (check): Likewise. * testsuite/27_io/basic_istream/getline/wchar_t/5.cc (check): Likewise. * testsuite/27_io/basic_istream/getline/char/5.cc (check): Likewise. * testsuite/testsuite_allocator.h (check_new): Likewise. (check_deallocate_null): Add missing return value. * testsuite/ext/pool_allocator/allocate_chunk.cc (test01): Make variable unsigned. * testsuite/23_containers/vector/modifiers/erase/1.cc (N,N1,N2,N3,N4, N5,test01): Likewise. * testsuite/26_numerics/valarray/valarray_subset_assignment.cc (check_array): Likewise. (main): Removed unused variable. * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc (test05): Removed unused variable. * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/flush/char/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/endl/char/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/ends/char/1.cc (test01): Likewise. * testsuite/tr1/2_general_utilities/memory/shared_ptr/ assign/shared_ptr.cc (test01): Correct return type. * testsuite/27_io/basic_filebuf/close/char/2.cc (test_02): Add default value to close_num. From-SVN: r109062 |
||
Joseph Myers
|
225d3396bf |
c99_classification_macros_c.cc: XFAIL on *-*-linux*, not *-*-linux-gnu.
* testsuite/26_numerics/cmath/c99_classification_macros_c.cc: XFAIL on *-*-linux*, not *-*-linux-gnu. From-SVN: r104125 |
||
Kelley Cook
|
83f517994d |
All files: Update FSF address.
2005-08-17 Kelley Cook <kcook@gcc.gnu.org> * All files: Update FSF address. From-SVN: r103192 |
||
Andrew Pinski
|
18a6e93f23 |
c99_classification_macros_c.cc: xfail on *-*-darwin*.
2005-08-09 Andrew Pinski <pinskia@physics.uc.edu> * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: xfail on *-*-darwin*. From-SVN: r102919 |
||
Paolo Carlini
|
10d877a8ed |
re PR libstdc++/13943 (call of overloaded `llabs(int)' is ambiguous)
2005-05-26 Paolo Carlini <pcarlini@suse.de> PR libstdc++/13943 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv, available when _GLIBCXX_USE_C99 is defined. * testsuite/26_numerics/cstdlib/13943.cc: New. * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check also strtoll and strtoull for ac_c99_stdlib. * configure: Regenerate. From-SVN: r100205 |
||
Vladimir Merzliakov
|
ceccf46b10 |
* testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
From-SVN: r95774 |
||
Richard Guenther
|
ae63a1cc46 |
re PR libstdc++/11706 (std::pow(T, int) implementation pessimizes code)
2005-02-13 Richard Guenther <rguenth@gcc.gnu.org> Paolo Carlini <pcarlini@suse.de> PR libstdc++/11706 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf] for integer overloads. * testsuite/26_numerics/cmath/powi.cc: New. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r94982 |
||
Janis Johnson
|
ecddf99e14 |
13450.cc: Fix XFAIL selector.
* testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector. * testsuite/26_numerics/complex/complex_value.cc: Ditto. * testsuite/26_numerics/complex/pow.cc: Ditto. From-SVN: r94904 |
||
Janis Johnson
|
75d1ddc1df |
libstdc++.exp: Load target-supports-dg.exp.
* testsuite/lib/libstdc++.exp: Load target-supports-dg.exp. * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg. * testsuite/26_numerics/complex/complex_value.cc: Ditto. * testsuite/26_numerics/complex/pow.cc: Ditto. From-SVN: r94902 |
||
Paolo Carlini
|
02a65d230f |
acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex to the final test for enable_c99, thus robustifying it...
2005-01-26 Paolo Carlini <pcarlini@suse.de> * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex to the final test for enable_c99, thus robustifying it; remove duplicate final test on ac_99_math. * configure: Regenerate. * include/std/std_complex.h: Remove usages of the dead _GLIBCXX_BUGGY_COMPLEX macro. * testsuite/26_numerics/cmath/19322.cc: Protect with _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99, since only C99 math facilities are involved. * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: Likewise. From-SVN: r94257 |
||
Lorenz Minder
|
3a2794abdb |
re PR libstdc++/19322 (std::isnan<>() is broken on FreeBSD)
2005-01-16 Lorenz Minder <lminder@gmx.net> Paolo Carlini <pcarlini@suse.de> PR libstdc++/19322 * include/c_std/std_cmath.h: Define the C99 classification facilities directly inside namespace std:. * testsuite/26_numerics/cmath/19322.cc: New. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r93723 |
||
Paolo Carlini
|
f5d8395b67 |
c99_classification_macros_c++.cc: Re-enable commented-out test for double type.
2005-01-13 Paolo Carlini <pcarlini@suse.de> * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: Re-enable commented-out test for double type. From-SVN: r93609 |
||
Richard Henderson
|
192b2fc48c |
* testsuite/26_numerics/complex/pow.cc: Use -mieee on alpha.
From-SVN: r91738 |
||
Paolo Carlini
|
1ecba09e20 |
sum_diff.cc: Use VERIFY.
2004-11-18 Paolo Carlini <pcarlini@suse.de> * testsuite/26_numerics/numeric/sum_diff.cc: Use VERIFY. * testsuite/ext/array_allocator/1.cc: Likewise. * testsuite/ext/array_allocator/2.cc: Likewise. * testsuite/ext/array_allocator/3.cc: Likewise. * testsuite/ext/enc_filebuf/char/13598.cc: Likewise. From-SVN: r90878 |
||
Paolo Carlini
|
482c0c5d0f |
complex_inserters_extractors.cc, [...]: Move to...
2004-06-22 Paolo Carlini <pcarlini@suse.de> * testsuite/26_numerics/complex_inserters_extractors.cc, complex_value.cc, buggy_complex.cc: Move to... * testsuite/26_numerics/complex/: ... here. * testsuite/26_numerics/c99_classification_macros_c++.cc, c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc, fabs_inline.cc: Move to... * testsuite/26_numerics/cmath/: ... here. * testsuite/26_numerics/binary_closure.cc, slice.cc, slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc, valarray_name_lookup.cc, valarray_operators.cc, valarray_subset_assignment.cc: Move to... * testsuite/26_numerics/valarray/: ... here (new dir). * testsuite/26_numerics/sum_diff.cc: Move to... * testsuite/26_numerics/numeric/: ... here (new dir). From-SVN: r83489 |
||
Paolo Carlini
|
c6feb69790 |
std_complex.h (pow(const complex&, const _Tp&), [...]): Fully qualify with std:: a few calls.
2004-03-11 Paolo Carlini <pcarlini@suse.de> * include/std/std_complex.h (pow(const complex&, const _Tp&), pow(const _Tp&, const complex&), pow(const complex&, const complex&)): Fully qualify with std:: a few calls. * testsuite/26_numerics/complex/13450.cc: Minor tweak. From-SVN: r79338 |
||
Paolo Carlini
|
f69535d2b7 |
valarray_subset_assignment.cc: Fix typos.
2004-03-10 Paolo Carlini <pcarlini@suse.de> * testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos. From-SVN: r79253 |
||
Paul Kienzle
|
52ddaf41bf |
re PR libstdc++/13450 (std::pow(std::complex<double>(-1.,0.),0.5) yields (NaN,0))
2004-03-10 Paul Kienzle <pkienzle@nist.gov> Paolo Carlini <pcarlini@suse.de> PR libstdc++/13450 * include/std/std_complex.h (pow(const complex&, const _Tp&), pow(const _Tp&, const complex&)): Use cmath pow only when safe. * testsuite/26_numerics/complex/13450.cc: New. * testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc. * testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix. From-SVN: r79227 |
||
Jerry Quinn
|
ecc7568da6 |
re PR libstdc++/3247 (valarray private member)
2004-03-10 Jerry Quinn <jlquinn@optonline.net> PR 3247 * include/bits/gslice_array.h (gslice_array()): Make public. (operator=(gslice_array)): Make public. Implement. * include/bits/indirect_array.h (indirect_array()): Make public. * include/bits/mask_array.h (mask_array()): Make public. (operator=(mask_array)): Make public. Implement. * include/bits/valarray_array.tcc (__valarray_copy): Comment. Add versions for gslice_array and mask_array. * testsuite/26_numerics/valarray_subset_assignment.cc: New test. From-SVN: r79226 |
||
Paolo Carlini
|
2aa89cbb78 |
testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to CXXFLAGS_save.
2004-03-04 Paolo Carlini <pcarlini@suse.de> * scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to CXXFLAGS_save. * testsuite/lib/libstdc++.exp: Don't add it conditionally to DEFAULT_CXXFLAGS. * testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT" from the dg-options. * testsuite/23_containers/vector/invalidation/1.cc: Likewise. * testsuite/23_containers/vector/invalidation/2.cc: Likewise. * testsuite/23_containers/vector/invalidation/3.cc: Likewise. * testsuite/23_containers/vector/invalidation/4.cc: Likewise. * testsuite/23_containers/vector/resize/1.cc: Likewise. * testsuite/26_numerics/complex_value.cc: Likewise. * testsuite/27_io/ios_base/storage/1.cc: Likewise. * testsuite/27_io/ios_base/storage/2.cc: Likewise. * testsuite/27_io/ios_base/storage/3.cc: Likewise. * testsuite/27_io/manipulators/standard/char/2.cc: Likewise. * testsuite/27_io/objects/char/5.cc: Likewise. * testsuite/27_io/objects/wchar_t/5.cc: Likewise. * testsuite/backward/11460.cc: Likewise. * testsuite/thread/pthread7-rope.cc: Likewise. * testsuite/21_strings/basic_string/compare/char/1.cc: Add missing test variable. * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Add missing test variable. From-SVN: r78942 |
||
Benjamin Kosnik
|
941fe801b4 |
numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY.
2003-12-22 Benjamin Kosnik <bkoz@redhat.com> * testsuite/18_support/numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY. * testsuite/23_containers/vector/invalidation/1.cc: Same. * testsuite/23_containers/vector/invalidation/2.cc: Same. * testsuite/23_containers/vector/invalidation/3.cc: Same. * testsuite/23_containers/vector/invalidation/4.cc: Same. * testsuite/23_containers/vector/resize/1.cc: Same. * testsuite/26_numerics/complex_value.cc: Same. * testsuite/27_io/ios_base/storage/1.cc: Same. * testsuite/27_io/ios_base/storage/2.cc: Same. * testsuite/27_io/ios_base/storage/3.cc: Same. * testsuite/27_io/manipulators/standard/char/2.cc: Same. * testsuite/backward/11460.cc: Same. * testsuite/backward/strstream_members.cc: Same. * include/ext/hash_set (class hash_multiset): Fix typo. From-SVN: r74951 |
||
Benjamin Kosnik
|
11f10e6b1f |
locale_facets.tcc: Tweak to avoid warnings.
2003-09-23 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_facets.tcc: Tweak to avoid warnings. * testsuite/testsuite_hooks.h: Same. * testsuite/*/*.cc: Same. From-SVN: r71693 |
||
Benjamin Kosnik
|
2803847d40 |
basic_ios.h: Remove *_iter typedefs, change num* typedefs to num_*.
2003-08-11 Benjamin Kosnik <bkoz@redhat.com> * include/bits/basic_ios.h: Remove *_iter typedefs, change num* typedefs to num_*. * include/bits/basic_ios.tcc: Same. * include/bits/istream.tcc: Same. * include/bits/locale_facets.h: Same. * include/bits/ostream.tcc: Same. * include/std/std_istream.h: Same. * include/std/std_ostream.h: Same. * testsuite/26_numerics/complex_inserters_extractors.cc: Fix. * include/ext/rope: Remove build warning. From-SVN: r70357 |
||
Benjamin Kosnik
|
cb584bcf98 |
testsuite_hooks.h: Remove list include.
2003-07-28 Benjamin Kosnik <bkoz@redhat.com> * testsuite/testsuite_hooks.h: Remove list include. (func_callback): Define as unique type, not std::list. Change DEBUG_ASSERT to _GLIBCXX_ASSERT. * testsuite/libstdc++-v3.dg/dg.exp: Same. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same. * testsuite/23_containers/bitset_ctor.cc: * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT. * testsuite/18_support/numeric_limits.cc: Same. * testsuite/21_strings/basic_string/append/char/1.cc: Same. * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/compare/char/1.cc: Same. * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/element_access/char/1.cc: Same. * testsuite/21_strings/basic_string/element_access/char/2.cc: Same. * testsuite/21_strings/basic_string/element_access/char/3.cc: Same. * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same. * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same. * testsuite/21_strings/basic_string/find/char/1.cc: Same. * testsuite/21_strings/basic_string/find/char/2.cc: Same. * testsuite/21_strings/basic_string/find/char/3.cc: Same. * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same. * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same. * testsuite/21_strings/basic_string/insert/char/1.cc: Same. * testsuite/21_strings/basic_string/insert/char/2.cc: Same. * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same. * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc: * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc: * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc: * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc: * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc: * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc: * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc: * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc: * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc: * testsuite/21_strings/basic_string/operators/char/1.cc: Same. * testsuite/21_strings/basic_string/operators/char/2.cc: Same. * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same. * testsuite/21_strings/basic_string/replace/char/1.cc: Same. * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/rfind/char/1.cc: Same. * testsuite/21_strings/basic_string/rfind/char/2.cc: Same. * testsuite/21_strings/basic_string/rfind/char/3.cc: Same. * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same. * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same. * testsuite/21_strings/basic_string/substr/char/1.cc: Same. * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same. * testsuite/23_containers/bitset_ctor.cc: Same. * testsuite/23_containers/bitset_shift.cc: Same. * testsuite/23_containers/vector_ctor.cc: Same. * testsuite/23_containers/vector_element_access.cc: Same. * testsuite/24_iterators/istreambuf_iterator.cc: Same. * testsuite/24_iterators/iterator.cc: Same. * testsuite/24_iterators/ostreambuf_iterator.cc: Same. * testsuite/25_algorithms/lower_bound.cc: Same. * testsuite/26_numerics/complex_inserters_extractors.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: Same. From-SVN: r69892 |
||
Benjamin Kosnik
|
3d7c150e3f |
Move from CPP to CXX.
2003-07-04 Benjamin Kosnik <bkoz@redhat.com> Move from CPP to CXX. * include/bits/c++config: Move to GLIBCXX from GLIBCPP. * testsuite/Makefile.am: Same. * testsuite/Makefile.in: Regenerate. * po/Makefile.am: Same. * po/Makefile.in: Regenerate. * libsupc++/Makefile.am: Same. * libsupc++/Makefile.in: Regenerate. * libmath/Makefile.am: Same. * libmath/Makefile.in: Regenerate. * include/Makefile.am: Same. * include/Makefile.in: Regenerate. * src/Makefile.am: Same. * src/Makefile.in: Regenerate. * acconfig.h: Same. * configure.host: Same. * configure.in: Same. * configure: Regenerate. * acinclude.m4: Same. * aclocal.m4: Same. * src: Change all files in this directory. * testsuite: Same. * include: Same, standardize include guards. * config: Same. * libsupc++: Same. From-SVN: r68958 |
||
Gabriel Dos Reis
|
1db0418ae5 |
re PR libstdc++/10689 (pow(std::complex(0),1/3) returns (nan, nan) instead of 0.)
PR libstdc++/10689 * include/std/std_complex.h (pow): Tidy From-SVN: r66989 |
||
Gabriel Dos Reis
|
cdc958d823 |
re PR libstdc++/3181 (Unable to use sqrt,cos,sin,... with int argument.)
PR libstdc++/3181 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h> (acos): Handle integer argument. (asin): Likewise. (atan): Likewise. (atan2): Likewise. (ceil): Likewise. (cos): Likewise. (cosh): Likewise. (exp): Likewise. (fabs): Likewise. (floor): Likewise. (frexp): Likewise. (ldexp): Likewise. (log): Likewise. (log10): Likewise. (sin): Likewise. (sinh): Likewise. (sqrt): Likewise. (tan): Likewise. (tanh): Likewise. * include/bits/cpp_type_traits.h (__are_same<>): New traits. (__enable_if): Likewise. * testsuite/26_numerics/cmath/overloads.C: New test. From-SVN: r66681 |
||
Loren J. Rittle
|
b39d035918 |
std_cmath.h (__gnu_cx::__c99_binding): New namespace.
libstdc++/7680 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace. Populate it with multiple legal ways to obtain the C99 float transcendentals. Use them instead of direct global reference. (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC. * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro. (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro. (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro. * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro. (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro. * testsuite/26_numerics/c_math_dynamic.cc: New file. From-SVN: r65624 |
||
Loren J. Rittle
|
e0dfd3fae5 |
* testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
From-SVN: r65605 |
||
Benjamin Kosnik
|
ac1613a2c2 |
[multiple changes]
2003-03-14 Benjamin Kosnik <bkoz@redhat.com> * testsuite/23_containers/bitset_members.cc: Add test variable. * testsuite/23_containers/map_insert.cc: Same. * testsuite/22_locale/ctype/cons/char/1.cc: Same. * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same. * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same. * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same. * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same. * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same. * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same. * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same. * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same. * testsuite/27_io/istream_exception.cc: Same. * testsuite/27_io/filebuf_virtuals.cc: Same. * testsuite/27_io/stringbuf_virtuals.cc: Same. * testsuite/27_io/ostream_inserter_arith.cc: Same. * testsuite/26_numerics/valarray_operators.cc: Same. * testsuite/26_numerics/slice.cc: Same. * testsuite/26_numerics/slice_array_assignment.cc: Same. * testsuite/24_iterators/istream_iterator.cc: Same. * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible. 2003-03-14 Petur Runolfsson <peturr02@ru.is> PR libstdc++/9581 PR libstdc++/9870 * config/locale/generic/ctype_members.cc, * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)): Cast argument to unsigned char before passing to btowc. (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)): Convert characters with btowc instead of mbsrtowcs. (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*, char, char*): Convert characters with wctob instead of wcsrtombs. * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test. * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test. * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test. From-SVN: r64391 |
||
Loren J. Rittle
|
4a07c08a47 |
* testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
From-SVN: r63982 |
||
Paolo Carlini
|
37d055f87f |
valarray_name_lookup.cc: Fix typo.
2003-02-05 Paolo Carlini <pcarlini@unitus.it> * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo. From-SVN: r62450 |
||
Benjamin Kosnik
|
431a736388 |
valarray_name_lookup.cc: Fix.
2003-02-04 Benjamin Kosnik <bkoz@redhat.com> * testsuite/26_numerics/valarray_name_lookup.cc: Fix. From-SVN: r62398 |
||
Volker Reichelt
|
847e8c74ac |
re PR libstdc++/9234 (unary minus for valarrays broken)
PR libstdc++/9234 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary operator. * include/bits/valarray_before.h (__not_equal_to): Use != instead of ==. * testsuite/26_numerics/valarray_operators.cc: New test. From-SVN: r62309 |
||
Benjamin Kosnik
|
5f8d36fe0a |
Reshuffle 22_locale testsuite.
2003-01-21 Benjamin Kosnik <bkoz@redhat.com> Reshuffle 22_locale testsuite. * 22_locale/(codecvt.cc money_get.cc codecvt_members_char_char.cc money_get_members_char.cc codecvt_members_unicode_char.cc money_get_members_wchar_t.cc codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc collate_members_char.cc money_put.cc collate_members_wchar_t.cc money_put_members_char.cc ctor_copy_dtor.cc money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc operators.cc ctype_widen_char.cc static_members.cc ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc global_templates.cc time_get_members_wchar_t.cc, members.cc, time_put.cc, messages_byname.cc, time_put_members_char.cc, messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc): Splint up into individual test cases... * 22_locale/codecvt/1.cc: New. * 22_locale/codecvt/2.cc: New. * 22_locale/codecvt/always_noconv/char/1.cc: New. * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New. * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New. * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New. * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/encoding/char/1.cc: New. * 22_locale/codecvt/encoding/char/wrapped_env.cc: New. * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New. * 22_locale/codecvt/encoding/wchar_t/1.cc: New. * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/in/char/1.cc: New. * 22_locale/codecvt/in/char/wrapped_env.cc: New. * 22_locale/codecvt/in/char/wrapped_locale.cc: New. * 22_locale/codecvt/in/wchar_t/1.cc: New. * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/length/char/1.cc: New. * 22_locale/codecvt/length/char/wrapped_env.cc: New. * 22_locale/codecvt/length/char/wrapped_locale.cc: New. * 22_locale/codecvt/length/wchar_t/1.cc: New. * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/max_length/char/1.cc: New. * 22_locale/codecvt/max_length/char/wrapped_env.cc: New. * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New. * 22_locale/codecvt/max_length/wchar_t/1.cc: New. * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/out/char/1.cc: New. * 22_locale/codecvt/out/char/wrapped_env.cc: New. * 22_locale/codecvt/out/char/wrapped_locale.cc: New. * 22_locale/codecvt/out/wchar_t/1.cc: New. * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/unicode/char.cc: New. * 22_locale/codecvt/unicode/wchar_t.cc: New. * 22_locale/codecvt/unshift/char/1.cc: New. * 22_locale/codecvt/unshift/char/wrapped_env.cc: New. * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New. * 22_locale/codecvt/unshift/wchar_t/1.cc: New. * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New. * 22_locale/collate/1.cc: New. * 22_locale/collate/2.cc: New. * 22_locale/collate/compare/char/1.cc: New. * 22_locale/collate/compare/char/2.cc: New. * 22_locale/collate/compare/char/wrapped_env.cc: New. * 22_locale/collate/compare/char/wrapped_locale.cc: New. * 22_locale/collate/compare/wchar_t/1.cc: New. * 22_locale/collate/compare/wchar_t/2.cc: New. * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New. * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New. * 22_locale/collate/hash/char/1.cc: New. * 22_locale/collate/hash/char/2.cc: New. * 22_locale/collate/hash/char/wrapped_env.cc: New. * 22_locale/collate/hash/char/wrapped_locale.cc: New. * 22_locale/collate/hash/wchar_t/1.cc: New. * 22_locale/collate/hash/wchar_t/2.cc: New. * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New. * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New. * 22_locale/collate/transform/char/2.cc: New. * 22_locale/collate/transform/char/wrapped_env.cc: New. * 22_locale/collate/transform/char/wrapped_locale.cc: New. * 22_locale/collate/transform/wchar_t/2.cc: New. * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New. * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New. * 22_locale/collate_byname/1.cc: New. * 22_locale/ctype/1.cc: New. * 22_locale/ctype/2.cc: New. * 22_locale/ctype/cons/char/1.cc: New. * 22_locale/ctype/cons/char/wrapped_env.cc: New. * 22_locale/ctype/cons/char/wrapped_locale.cc: New. * 22_locale/ctype/is/char/1.cc: New. * 22_locale/ctype/is/char/2.cc: New. * 22_locale/ctype/is/char/3.cc: New. * 22_locale/ctype/is/char/wrapped_env.cc: New. * 22_locale/ctype/is/char/wrapped_locale.cc: New. * 22_locale/ctype/is/wchar_t/1.cc: New. * 22_locale/ctype/is/wchar_t/2.cc: New. * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New. * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New. * 22_locale/ctype/narrow/char/1.cc: New. * 22_locale/ctype/narrow/char/2.cc: New. * 22_locale/ctype/narrow/char/wrapped_env.cc: New. * 22_locale/ctype/narrow/char/wrapped_locale.cc: New. * 22_locale/ctype/narrow/wchar_t/1.cc: New. * 22_locale/ctype/narrow/wchar_t/2.cc: New. * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New. * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New. * 22_locale/ctype/scan/char/1.cc: New. * 22_locale/ctype/scan/char/wrapped_env.cc: New. * 22_locale/ctype/scan/char/wrapped_locale.cc: New. * 22_locale/ctype/scan/wchar_t/1.cc: New. * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New. * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New. * 22_locale/ctype/to/char/1.cc: New. * 22_locale/ctype/to/char/wrapped_env.cc: New. * 22_locale/ctype/to/char/wrapped_locale.cc: New. * 22_locale/ctype/to/wchar_t/1.cc: New. * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New. * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New. * 22_locale/ctype/widen/char/1.cc: New. * 22_locale/ctype/widen/char/wrapped_env.cc: New. * 22_locale/ctype/widen/char/wrapped_locale.cc: New. * 22_locale/ctype/widen/wchar_t/1.cc: New. * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New. * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New. * 22_locale/facet/1.cc: New. * 22_locale/facet/2.cc: New. * 22_locale/global_templates/1.cc: New. * 22_locale/locale/cons/1.cc: New. * 22_locale/locale/cons/2.cc: New. * 22_locale/locale/cons/3.cc: New. * 22_locale/locale/cons/4.cc: New. * 22_locale/locale/cons/5.cc: New. * 22_locale/locale/cons/6.cc: New. * 22_locale/locale/cons/7.cc: New. * 22_locale/locale/global_locale_objects/1.cc: New. * 22_locale/locale/global_locale_objects/2.cc: New. * 22_locale/locale/global_locale_objects/3.cc: New. * 22_locale/locale/operations/1.cc: New. * 22_locale/locale/operations/2.cc: New. * 22_locale/messages/1.cc: New. * 22_locale/messages/2.cc: New. * 22_locale/messages/members/char/1.cc: New. * 22_locale/messages/members/char/2.cc: New. * 22_locale/messages/members/char/3.cc: New. * 22_locale/messages/members/char/wrapped_env.cc: New. * 22_locale/messages/members/char/wrapped_locale.cc: New. * 22_locale/messages_byname/1.cc: New. * 22_locale/money_get/1.cc: New. * 22_locale/money_get/2.cc: New. * 22_locale/money_get/get/char/1.cc: New. * 22_locale/money_get/get/char/2.cc: New. * 22_locale/money_get/get/char/3.cc: New. * 22_locale/money_get/get/char/4.cc: New. * 22_locale/money_get/get/char/5.cc: New. * 22_locale/money_get/get/char/6.cc: New. * 22_locale/money_get/get/char/7.cc: New. * 22_locale/money_get/get/char/8.cc: New. * 22_locale/money_get/get/char/wrapped_env.cc: New. * 22_locale/money_get/get/char/wrapped_locale.cc: New. * 22_locale/money_get/get/wchar_t/1.cc: New. * 22_locale/money_get/get/wchar_t/2.cc: New. * 22_locale/money_get/get/wchar_t/3.cc: New. * 22_locale/money_get/get/wchar_t/4.cc: New. * 22_locale/money_get/get/wchar_t/5.cc: New. * 22_locale/money_get/get/wchar_t/6.cc: New. * 22_locale/money_get/get/wchar_t/7.cc: New. * 22_locale/money_get/get/wchar_t/8.cc: New. * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New. * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New. * 22_locale/money_put/1.cc: New. * 22_locale/money_put/2.cc: New. * 22_locale/money_put/put/char/1.cc: New. * 22_locale/money_put/put/char/2.cc: New. * 22_locale/money_put/put/char/3.cc: New. * 22_locale/money_put/put/char/4.cc: New. * 22_locale/money_put/put/char/5.cc: New. * 22_locale/money_put/put/char/6.cc: New. * 22_locale/money_put/put/char/wrapped_env.cc: New. * 22_locale/money_put/put/char/wrapped_locale.cc: New. * 22_locale/money_put/put/wchar_t/1.cc: New. * 22_locale/money_put/put/wchar_t/2.cc: New. * 22_locale/money_put/put/wchar_t/3.cc: New. * 22_locale/money_put/put/wchar_t/4.cc: New. * 22_locale/money_put/put/wchar_t/5.cc: New. * 22_locale/money_put/put/wchar_t/6.cc: New. * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New. * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New. * 22_locale/moneypunct/1.cc: New. * 22_locale/moneypunct/2.cc: New. * 22_locale/moneypunct/3.cc: New. * 22_locale/moneypunct/members/char/1.cc: New. * 22_locale/moneypunct/members/char/2.cc: New. * 22_locale/moneypunct/members/char/wrapped_env.cc: New. * 22_locale/moneypunct/members/char/wrapped_locale.cc: New. * 22_locale/moneypunct/members/wchar_t/1.cc: New. * 22_locale/moneypunct/members/wchar_t/2.cc: New. * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New. * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New. * 22_locale/moneypunct_byname/1.cc: New. * 22_locale/num_get/1.cc: New. * 22_locale/num_get/2.cc: New. * 22_locale/num_get/get/char/1.cc: New. * 22_locale/num_get/get/char/2.cc: New. * 22_locale/num_get/get/char/3.cc: New. * 22_locale/num_get/get/char/4.cc: New. * 22_locale/num_get/get/char/5.cc: New. * 22_locale/num_get/get/char/6.cc: New. * 22_locale/num_get/get/char/wrapped_env.cc: New. * 22_locale/num_get/get/char/wrapped_locale.cc: New. * 22_locale/num_get/get/wchar_t/1.cc: New. * 22_locale/num_get/get/wchar_t/2.cc: New. * 22_locale/num_get/get/wchar_t/3.cc: New. * 22_locale/num_get/get/wchar_t/4.cc: New. * 22_locale/num_get/get/wchar_t/5.cc: New. * 22_locale/num_get/get/wchar_t/6.cc: New. * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New. * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New. * 22_locale/num_put/1.cc: New. * 22_locale/num_put/2.cc: New. * 22_locale/num_put/put/char/1.cc: New. * 22_locale/num_put/put/char/2.cc: New. * 22_locale/num_put/put/char/3.cc: New. * 22_locale/num_put/put/char/4.cc: New. * 22_locale/num_put/put/char/5.cc: New. * 22_locale/num_put/put/char/wrapped_env.cc: New. * 22_locale/num_put/put/char/wrapped_locale.cc: New. * 22_locale/num_put/put/wchar_t/1.cc: New. * 22_locale/num_put/put/wchar_t/2.cc: New. * 22_locale/num_put/put/wchar_t/3.cc: New. * 22_locale/num_put/put/wchar_t/4.cc: New. * 22_locale/num_put/put/wchar_t/5.cc: New. * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New. * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New. * 22_locale/numpunct/1.cc: New. * 22_locale/numpunct/2.cc: New. * 22_locale/numpunct/members/char/1.cc: New. * 22_locale/numpunct/members/char/2.cc: New. * 22_locale/numpunct/members/char/wrapped_env.cc: New. * 22_locale/numpunct/members/char/wrapped_locale.cc: New. * 22_locale/numpunct/members/wchar_t/1.cc: New. * 22_locale/numpunct/members/wchar_t/2.cc: New. * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New. * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New. * 22_locale/numpunct_byname/1.cc: New. * 22_locale/numpunct_byname/2.cc: New. * 22_locale/time_get/1.cc: New. * 22_locale/time_get/2.cc: New. * 22_locale/time_get/date_order/char/1.cc: New. * 22_locale/time_get/date_order/char/wrapped_env.cc: New. * 22_locale/time_get/date_order/char/wrapped_locale.cc: New. * 22_locale/time_get/date_order/wchar_t/1.cc: New. * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New. * 22_locale/time_get/get_date/char/1.cc: New. * 22_locale/time_get/get_date/char/2.cc: New. * 22_locale/time_get/get_date/char/3.cc: New. * 22_locale/time_get/get_date/char/wrapped_env.cc: New. * 22_locale/time_get/get_date/char/wrapped_locale.cc: New. * 22_locale/time_get/get_date/wchar_t/1.cc: New. * 22_locale/time_get/get_date/wchar_t/2.cc: New. * 22_locale/time_get/get_date/wchar_t/3.cc: New. * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New. * 22_locale/time_get/get_monthname/char/1.cc: New. * 22_locale/time_get/get_monthname/char/2.cc: New. * 22_locale/time_get/get_monthname/char/3.cc: New. * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New. * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New. * 22_locale/time_get/get_monthname/wchar_t/1.cc: New. * 22_locale/time_get/get_monthname/wchar_t/2.cc: New. * 22_locale/time_get/get_monthname/wchar_t/3.cc: New. * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New. * 22_locale/time_get/get_time/char/1.cc: New. * 22_locale/time_get/get_time/char/2.cc: New. * 22_locale/time_get/get_time/char/3.cc: New. * 22_locale/time_get/get_time/char/wrapped_env.cc: New. * 22_locale/time_get/get_time/char/wrapped_locale.cc: New. * 22_locale/time_get/get_time/wchar_t/1.cc: New. * 22_locale/time_get/get_time/wchar_t/2.cc: New. * 22_locale/time_get/get_time/wchar_t/3.cc: New. * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New. * 22_locale/time_get/get_weekday/char/1.cc: New. * 22_locale/time_get/get_weekday/char/2.cc: New. * 22_locale/time_get/get_weekday/char/3.cc: New. * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New. * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New. * 22_locale/time_get/get_weekday/wchar_t/1.cc: New. * 22_locale/time_get/get_weekday/wchar_t/2.cc: New. * 22_locale/time_get/get_weekday/wchar_t/3.cc: New. * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New. * 22_locale/time_get/get_year/char/1.cc: New. * 22_locale/time_get/get_year/char/3.cc: New. * 22_locale/time_get/get_year/char/wrapped_env.cc: New. * 22_locale/time_get/get_year/char/wrapped_locale.cc: New. * 22_locale/time_get/get_year/wchar_t/1.cc: New. * 22_locale/time_get/get_year/wchar_t/3.cc: New. * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New. * 22_locale/time_put/1.cc: New. * 22_locale/time_put/2.cc: New. * 22_locale/time_put/put/char/1.cc: New. * 22_locale/time_put/put/char/10.cc: New. * 22_locale/time_put/put/char/2.cc: New. * 22_locale/time_put/put/char/3.cc: New. * 22_locale/time_put/put/char/4.cc: New. * 22_locale/time_put/put/char/5.cc: New. * 22_locale/time_put/put/char/6.cc: New. * 22_locale/time_put/put/char/7.cc: New. * 22_locale/time_put/put/char/8.cc: New. * 22_locale/time_put/put/char/9.cc: New. * 22_locale/time_put/put/char/wrapped_env.cc: New. * 22_locale/time_put/put/char/wrapped_locale.cc: New. * 22_locale/time_put/put/wchar_t/1.cc: New. * 22_locale/time_put/put/wchar_t/10.cc: New. * 22_locale/time_put/put/wchar_t/2.cc: New. * 22_locale/time_put/put/wchar_t/3.cc: New. * 22_locale/time_put/put/wchar_t/4.cc: New. * 22_locale/time_put/put/wchar_t/5.cc: New. * 22_locale/time_put/put/wchar_t/6.cc: New. * 22_locale/time_put/put/wchar_t/7.cc: New. * 22_locale/time_put/put/wchar_t/8.cc: New. * 22_locale/time_put/put/wchar_t/9.cc: New. * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New. * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New. From-SVN: r61548 |
||
Benjamin Kosnik
|
6b543e86f4 |
acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
2003-01-15 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/Makefile.am (all-local): Add conditional rule to generate testsuite_wchar_t. * testsuite/Makefile.in: Regenerate. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles): Remove wchar_t files if testsuite_wchar_t is not present in the build directory. * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS. Remove setulimit bits. * testsuite/26_numerics/complex_value.cc: Set to noopts. * testsuite/Makefile.am (CLEANFILES): Add. * testsuite/Makefile.in: Regenerate. From-SVN: r61373 |
||
Gabriel Dos Reis
|
eee9d6bb44 |
* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
From-SVN: r59983 |
||
Gabriel Dos Reis
|
7a9ffd82b6 |
valarray_name_lookup.cc: Rename from testsuite/26_numerics/valarray_name_lookup.C
* testsuite/26_numerics/valarray_name_lookup.cc: Rename from testsuite/26_numerics/valarray_name_lookup.C From-SVN: r56008 |
||
Gabriel Dos Reis
|
971cfc6f10 |
valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our object function surrogates.
* include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our object function surrogates. * include/bits/valarray_meta.h (__shift_left): Fix typo. (_BinFunClos<>): Remove. (_BinFunBase<>): Likewise. (_BinFunBase1<>):Likewise. (_BinFunBase2<>): Likewise. (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise. (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition. (_DEFINE_EXPR_BINARY_OPERATOR): Likewise. (_DEFINE_EXPR_BINARY_FUNCTION): Likewise. * include/std/std_valarray.h: Dont #include <functional> anymore. (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>, _Shift_right<>): Remove. (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation. (_DEFINE_BINARY_OPERATOR): Tweak definition. (_DEFINE_LOGICAL_OPERATOR): Remove. * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests. From-SVN: r56001 |
||
Gabriel Dos Reis
|
74d6b8ca63 |
valarray_meta.h (_UnFunBase<>): Remove.
* include/bits/valarray_meta.h (_UnFunBase<>): Remove. (_UnFunClos<>): Same. (_UnBase<>): Reformat. Make first template-parameter non template. (_UnClos<>): Likewise. (_Expr<>): Reformate. Adjust unary member operator return types. (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition. (_DEFINE_EXPR_UNARY_FUNCTION): Likewise. * include/std/std_valarray.h (_UnClos<>): Adjust declaration. (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member operator return types. Reformat. (_Bitwise_not): Remove. (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition. * testsuite/26_numerics/valarray_name_lookup.C: New test. From-SVN: r55993 |
||
Gabriel Dos Reis
|
5068f54685 |
Makefile.am (bits_headers): Remove slice.h
* include/Makefile.am (bits_headers): Remove slice.h * include/Makefile.in: Regenerate. * include/bits/slice.h (slice): move to include/bits/slice_array.h * include/bits/slice.h Remove. * include/std/std_valarray.h: Don't #include bits/slice.h anymore. * include/bits/slice_array.h: Comply to official coding styles. * testsuite/26_numerics/slice.cc: New test. :w :q From-SVN: r55470 |
||
Benjamin Kosnik
|
8081da07e5 |
c_compatibility: New.
2002-06-21 Benjamin Kosnik <bkoz@redhat.com> * include/c_compatibility: New. * include/c_compatibility/assert.h: New. * include/c_compatibility/ctype.h: New. * include/c_compatibility/errno.h: New. * include/c_compatibility/float.h: New. * include/c_compatibility/iso646.h: New. * include/c_compatibility/limits.h: New. * include/c_compatibility/locale.h: New. * include/c_compatibility/math.h: New. * include/c_compatibility/setjmp.h: New. * include/c_compatibility/signal.h: New. * include/c_compatibility/stdarg.h: New. * include/c_compatibility/stddef.h: New. * include/c_compatibility/stdio.h: New. * include/c_compatibility/stdlib.h: New. * include/c_compatibility/string.h: New. * include/c_compatibility/time.h: New. * include/c_compatibility/wchar.h: New. * include/c_compatibility/wctype.h: New. * include/c/std_cerrno.h: Get out of the way... define errno. * include/c/std_cmath.h: Add abs, modf overloads. Undefine C99 isms. Still not sure how to deal with this sanely. * include/c/std_csetjmp.h: Tweak. * include/c/std_cwchar.h: Include cstddef for size_t. * include/c_std/std_cmath.h: Remove extra function. Pendantic std usage in testsuites. * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t with std. * testsuite/17_intro/header_cwchar.cc: Tweak. * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use std::setlocale. * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same. * testsuite/22_locale/ctype_to_char.cc (test05): Same. * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same. * testsuite/22_locale/ctype_is_char.cc (test05): Same. * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same. * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same. * testsuite/22_locale/time_get_members_char.cc (test08): Same. * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same. * testsuite/22_locale/time_put_members_char.cc (test04): Same. * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same. * testsuite/22_locale/num_put_members_char.cc (test04): Same. * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same. * testsuite/22_locale/numpunct_members_char.cc (test03): Same. * testsuite/22_locale/num_get_members_wchar_t.cc: Same. * testsuite/22_locale/num_get_members_char.cc: Same. * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same. * testsuite/22_locale/money_put_members_char.cc (test07): Same. * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same. * testsuite/22_locale/moneypunct_members_char.cc (test03): Same. * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same. * testsuite/22_locale/money_get_members_char.cc (test08): Same. * testsuite/22_locale/messages_members_char.cc (test03): Same. * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same. * testsuite/22_locale/collate_members_char.cc (test04): Same. * testsuite/26_numerics/fabs_inline.cc: Use std::printf. * testsuite/27_io/istream_seeks.cc (test02): Qualify abort. * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol. From-SVN: r54891 |
||
David Billinghurst
|
80a86f2176 |
2002-01-08 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/26_numerics/c99_classification_macros_c.cc Remove dg-error and dg-excess-errors comments. From-SVN: r48862 |
||
Benjamin Kosnik
|
5b5e609d03 |
[multiple changes]
2001-12-04 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am (sources): Add ext-inst.cc. * src/Makefile.in: Regenerate. * src/ext-inst.cc: New file. * include/bits/stl_threads.h: Format. * src/globals.cc: Add instantiation for _S_swap_lock. * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B> instantiation. 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca> * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile and execute test01 if _GLIBCPP_USE_WCHAR_T is defined. * testsuite/26_numerics/complex_inserters_extractors.cc: Provide for explicit instantiation of class std::basic_string<char, gnu_char_traits, std::allocator<char> >. From-SVN: r47622 |
||
Phil Edwards
|
fe413112f8 |
acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2001-08-06 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses... (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro. * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h. Call GLIBCPP_CONFIGURE_TESTSUITE. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead of old header. * testsuite_flags.in: Add build dir's testsuite to INCLUDES. * testsuite/debug_assert.h: Removed; contents merged into... * testsuite/testsuite_hooks.h.in: ...here. New file. * testsuite/17_intro/header_ciso646.cc: No longer include debug_assert.h, include testsuite_hooks.h instead. * testsuite/17_intro/header_fstream.cc: Likewise. * testsuite/17_intro/header_iomanip.cc: Likewise. * testsuite/17_intro/header_ios.cc: Likewise. * testsuite/17_intro/header_iosfwd.cc: Likewise. * testsuite/17_intro/header_iostream.cc: Likewise. * testsuite/17_intro/header_istream.cc: Likewise. * testsuite/17_intro/header_ostream.cc: Likewise. * testsuite/17_intro/header_sstream.cc: Likewise. * testsuite/17_intro/header_streambuf.cc: Likewise. * testsuite/18_support/numeric_limits.cc: Likewise. * testsuite/19_diagnostics/stdexceptions.cc: Likewise. * testsuite/20_util/allocator_members.cc: Likewise. * testsuite/20_util/auto_ptr.cc: Likewise. * testsuite/20_util/pairs.cc: Likewise. * testsuite/21_strings/append.cc: Likewise. * testsuite/21_strings/capacity.cc: Likewise. * testsuite/21_strings/char_traits_requirements.cc: Likewise. * testsuite/21_strings/compare.cc: Likewise. * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up call to (disabled) __set_testsuite_memlimit() wrapper. * testsuite/21_strings/element_access.cc: Likewise. * testsuite/21_strings/find.cc: Likewise. * testsuite/21_strings/insert.cc: Likewise. Also set up call to (disabled) __set_testsuite_memlimit() wrapper. * testsuite/21_strings/inserters_extractors.cc: Likewise. * testsuite/21_strings/invariants.cc: Likewise. * testsuite/21_strings/nonmember.cc: Likewise. * testsuite/21_strings/operations.cc: Likewise. * testsuite/21_strings/replace.cc: Likewise. * testsuite/21_strings/rfind.cc: Likewise. * testsuite/21_strings/substr.cc: Likewise. * testsuite/22_locale/codecvt_char_char.cc: Likewise. * testsuite/22_locale/codecvt_unicode_char.cc: Likewise. * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise. * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise. * testsuite/22_locale/ctor_copy_dtor.cc: Likewise. * testsuite/22_locale/ctype_char_members.cc: Likewise. * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise. * testsuite/22_locale/facet.cc: Likewise. * testsuite/22_locale/global_templates.cc: Likewise. * testsuite/22_locale/members.cc: Likewise. * testsuite/22_locale/numpunct_byname.cc: Likewise. * testsuite/22_locale/numpunct_char_members.cc: Likewise. * testsuite/22_locale/operators.cc: Likewise. * testsuite/22_locale/static_members.cc: Likewise. * testsuite/23_containers/bitset_ctor.cc: Likewise. * testsuite/23_containers/bitset_members.cc: Likewise. * testsuite/23_containers/bitset_shift.cc: Likewise. * testsuite/23_containers/vector_capacity.cc: Likewise. * testsuite/23_containers/vector_ctor.cc: Likewise. * testsuite/23_containers/vector_element_access.cc: Likewise. * testsuite/23_containers/vector_modifiers.cc: Likewise. * testsuite/24_iterators/istreambuf_iterator.cc: Likewise. * testsuite/24_iterators/iterator.cc: Likewise. * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise. * testsuite/25_algorithms/binary_search.cc: Likewise. * testsuite/25_algorithms/copy.cc: Likewise. * testsuite/25_algorithms/heap.cc: Likewise. * testsuite/25_algorithms/lower_bound.cc: Likewise. * testsuite/25_algorithms/min_max.cc: Likewise. * testsuite/25_algorithms/partition.cc: Likewise. * testsuite/25_algorithms/rotate.cc: Likewise. * testsuite/25_algorithms/sort.cc: Likewise. * testsuite/26_numerics/c_math.cc: Likewise. * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise. * testsuite/26_numerics/complex_value.cc: Likewise. * testsuite/27_io/filebuf.cc: Likewise. * testsuite/27_io/filebuf_members.cc: Likewise. * testsuite/27_io/filebuf_virtuals.cc: Likewise. * testsuite/27_io/fpos.cc: Likewise. * testsuite/27_io/fstream_members.cc: Likewise. * testsuite/27_io/ifstream_members.cc: Likewise. * testsuite/27_io/ios_base_callbacks.cc: Likewise. * testsuite/27_io/ios_base_members_static.cc: Likewise. * testsuite/27_io/ios_base_storage.cc: Likewise. * testsuite/27_io/ios_ctor.cc: Likewise. * testsuite/27_io/ios_init.cc: Likewise. * testsuite/27_io/ios_manip_basefield.cc: Likewise. * testsuite/27_io/ios_manip_fmtflags.cc: Likewise. * testsuite/27_io/ios_members.cc: Likewise. * testsuite/27_io/istream_extractor_arith.cc: Likewise. * testsuite/27_io/istream_extractor_char.cc: Likewise. * testsuite/27_io/istream_extractor_other.cc: Likewise. * testsuite/27_io/istream_manip.cc: Likewise. * testsuite/27_io/istream_seeks.cc: Likewise. * testsuite/27_io/istream_sentry.cc: Likewise. * testsuite/27_io/istream_unformatted.cc: Likewise. * testsuite/27_io/istringstream_members.cc: Likewise. * testsuite/27_io/narrow_stream_objects.cc: Likewise. * testsuite/27_io/ofstream_members.cc: Likewise. * testsuite/27_io/ostream_inserter_arith.cc: Likewise. * testsuite/27_io/ostream_inserter_char.cc: Likewise. * testsuite/27_io/ostream_inserter_other.cc: Likewise. * testsuite/27_io/ostream_manip.cc: Likewise. * testsuite/27_io/ostream_seeks.cc: Likewise. * testsuite/27_io/ostream_unformatted.cc: Likewise. * testsuite/27_io/ostringstream_members.cc: Likewise. * testsuite/27_io/streambuf.cc: Likewise. * testsuite/27_io/stringbuf.cc: Likewise. * testsuite/27_io/stringbuf_virtuals.cc: Likewise. * testsuite/27_io/stringstream.cc: Likewise. * testsuite/27_io/stringstream_members.cc: Likewise. * testsuite/27_io/wide_stream_objects.cc: Likewise. From-SVN: r44679 |
||
Stephen M. Webb
|
02d92e3b70 |
All occurrences of the __value_type() and __distance_type() functions...
2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r All occurrences of the __value_type() and __distance_type() functions, which were required to support the HP STL, have been removed along with all the auxiliary forwarding functions that were required to support their use. The __iterator_category() function was pretty much left alone because there was no benefit to removing it and its use made code just a little more readable. Incidences of distance() with nonstandard argument list were replaced by calls to the standard function (only in the files affected by the removal of the other HP functions). The signature of the rotate() algorithm was changed to match the standard. Headers were reformatted under C++STYLE guidelines (indentation, linebreaks, typename keyword). * include/bits/stl_algo.h: replaced __value_type() and __distance_type() with iterator_traits, eliminated auxiliary support functions required to support said function usage. Changed nonstandard distance() call to standard call. * include/bits/stl_algobase.h: Same. * include/bits/stl_heap.h: Same. * include/bits/stl_numeric.h: Same. * include/bits/stl_uninitialized.h: Same. * include/bits/stl_iterator_base_types.h (__value_type()): Removed. (__distance_type()): Removed. (value_type()): Gone. (distance_type()): Done in. (iterator_category()): Hasta la vista, baby. * include/bits/stl_iterator_base_funcs.h (iterator_category()): Replaced with __iterator_category(). * include/backward/iterator.h: moved definition of value_type(), distance_type(), and iterator_category() out of std:: and into here. * testsuite/23_containers/vector_ctor.cc (test03): New testcases. * testsuite/23_containers/vector_modifiers.cc (test03): New testcases. * testsuite/25_algorithms/rotate.cc: New testcase. * testsuite/25_algorithms/copy.cc: New testcase. * testsuite/25_algorithms/sort.cc: Same. * testsuite/25_algorithms/heap.cc: Same. * testsuite/25_algorithms/partition.cc: Same. * testsuite/25_algorithms/binary_search.cc: Same. * testsuite/26_numerics/sum_diff.cc: Ditto. From-SVN: r44117 |
||
Gabriel Dos Reis
|
7c301abf46 |
slice_array_assignment.cc (main): New test.
* testsuite/26_numerics/slice_array_assignment.cc (main): New test. * include/bits/slice_array.h (slice_array<>::operator=): Make public and implement. (slice_array<>::slice_array): Make copy-constructor public. * include/bits/valarray_array.h (__valarray_copy): Add another overload to copy between strided arrays. From-SVN: r43352 |
||
Benjamin Kosnik
|
bfa1e6b11b |
acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2001-05-30 Benjamin Kosnik <bkoz@redat.com> * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. (_GLIBCPP_BUGGY_COMPLEX): Remove. * config.h.in: Regenerate. * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove. * aclocal.m4: Regenerate. * configure.in: Don't call it. * configure: Regenerate. libstdc++/2970 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix. * testsuite/26_numerics/complex_inserters_extractors.cc (test01): New test. libstdc++/2985 * include/bits/std_complex.h: Include sstream. Put definitions for complex inserters and extractors here, and remove them from... * src/complex_io.cc: ...here. * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits parameter. (basic_ios::__numget_type): Same. * include/bits/std_istream.h: Same. * include/bits/std_ostream.h: Same. * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base class iterator template arguments. * src/locale-inst.cc: Add explicit has_facet instantiations. * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove. (_M_get_fnumput): Remove. (_M_get_fnumget): Remove. (basic_ios::_M_check_facet): New function. (basic_ios::_M_cache_facets): New function. * include/bits/basic_ios.tcc: Definition for _M_cache_facets. (basic_ios::imbue): Call _M_cache_facets. (basic_ios::init): Same. * include/bits/istream.tcc: Format, use _M_check_facet. * include/bits/ostream.tcc: Same. * include/bits/locale_facets.tcc (__output_float): Change signature, add _Traits. * testsuite/26_numerics/complex_inserters_extractors.cc (test02): New test. From-SVN: r42743 |
||
Gabriel Dos Reis
|
cf3e18dd1e |
c++config (__NO_MATH_INLINES): New macro.
* include/bits/c++config (__NO_MATH_INLINES): New macro. * testsuite/26_numerics/fabs_inline.cc (main): New test. From-SVN: r42533 |
||
Gabriel Dos Reis
|
5c542b4a19 |
std_valarray.h (valarray<>::operator[] const): Return a const reference.
* include/bits/std_valarray.h (valarray<>::operator[] const): Return a const reference. * testsuite/26_numerics/valarray_const_bracket.cc: New test. From-SVN: r42245 |
||
Benjamin Kosnik
|
04d930e6d4 |
*.cc: Remove spaces, make sure testcases return zero.
2001-05-11 Benjamin Kosnik <bkoz@redhat.com> * testsuite/*/*.cc: Remove spaces, make sure testcases return zero. * testsuite/config/default.exp: Update bugs email address. From-SVN: r41997 |
||
Benjamin Kosnik
|
5db6f3de56 |
std_cmath.h (std): Explicitly inject c99 names.
2001-04-25 Benjamin Kosnik <bkoz@redhat.com> * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names. * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs. * include/c_std/bits/std_cwchar.h (std): Same. * acconfig.h (std): Remove c99 injection into std. * config.h.in: Regenerate. * testsuite/README: Fix typo. * include/bits/codecvt.h: Remove warnings. From-SVN: r41568 |
||
Benjamin Kosnik
|
4b3db7c50c |
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled correctly before long long is activated.
2001-04-20 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled correctly before long long is activated. * aclocal.m4: Regenerate. * configure: Regenerate. * include/backward/backward_warning.h: Format correctly. * testsuite/26_numerics/c99_classification_macros_c.cc: Add. * testsuite/26_numerics/c99_classification_macros_c++.cc: Add. * testsuite/26_numerics/c99_macros.cc: Remove. From-SVN: r41469 |
||
Benjamin Kosnik
|
7cda84dc70 |
acconfig.h (_GLIBCPP_USE_C99): Add.
2001-04-19 Benjamin Kosnik <bkoz@redhat.com> * acconfig.h (_GLIBCPP_USE_C99): Add. * config.h.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC 9899: 1999 support. * aclocal.m4: Regenerate. * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default. * configure: Regenerate. * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes. * configure: Regenerate. * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull into c99. * include/c_std/bits/std_cmath.h: Bring C99 functions into c99 namespace. * include/c_std/bits/std_cstdlib.h: Same. * docs/html/configopts.html: Update. * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of math.h (test_c99_classify): Add. * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove. (_ISOC99_SOURCE): Remove. * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48. * include/bits/c++config (__STL_ASSERTIONS): Simplify. * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r41451 |
||
Gabriel Dos Reis
|
e521873c0e |
std_cmath.h: Get rid of C99 math macros.
* include/c_std/bits/std_cmath.h: Get rid of C99 math macros. * testsuite/26_numerics/c99_macros.cc: Add test. From-SVN: r41159 |
||
Benjamin Kosnik
|
5e90dd7193 |
std_complex.h: Tweaks, include cmath for abs overloads.
2000-11-20 Benjamin Kosnik <bkoz@redhat.com> * include/bits/std_complex.h: Tweaks, include cmath for abs overloads. * src/complex.cc: Remove cmath include, formatting tweaks, remove dead code. * include/c/bits/std_cmath.h: Formatting tweaks. * testsuite/26_numerics/complex_value.cc: New file, for catching bits gleaned from libstdc++/106. * testsuite/23_containers/vector_ctor.cc (test02): Add test from libstdc++/102. From-SVN: r37591 |
||
Benjamin Kosnik
|
4bc950092b |
[multiple changes]
2000-10-30 Benjamin Kosnik <bkoz@redhat.com> * src/complex_io.cc : Remove ancient defines. * config/os/gnu-linux/bits/os_defines.h: Add defines. * libsupc++/tinfo2.cc: Change to cstddef. * include/bits/codecvt.h: Add include of c++config.h, so that __USE_GNU gets defined. (Important for alpha.) * include/c/bits/std_cwctype.h: Same. * include/c/bits/std_ctime.h: And here. * include/c/bits/std_cstdarg.h: Same. * include/c/bits/std_csignal.h: Same. * include/c/bits/std_csetjmp.h: Same. * include/c/bits/std_clocale.h: Same. * include/c/bits/std_climits.h: Touch. * include/c/bits/std_cfloat.h: Same. * include/c/bits/std_cerrno.h: Same. * include/c/bits/std_cwchar.h: Same. * include/c/bits/std_cassert.h: Same. * include/c/bits/std_cctype.h: Same. * include/c/bits/std_cstddef.h: And here. * include/c/bits/std_cstdlib.h: And here. * include/c/bits/std_cstdio.h: Same. * include/c/bits/std_cstring.h: Add names to namespace std::. * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros from here... (_ISOC99_SOURCE): And this one.... * config/os/gnu-linux/bits/os_defines.h: ...to here. * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits>::do_in): Don't cast to const, this is a bug in glibc prior to 2.2. (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same. * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t. 2000-10-30 Steven King <sxking@uswest.net> * include/bits/codecvt.h: Add cast. * include/c_std/stdio.h: Re-add printf using declaration. * include/c_std/bits/std_cstdio.h: Same * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite. * testsuite/22_locale/ctor_copy_dtor.cc: Same. * testsuite/22_locale/facet.cc: Same. * testsuite/22_locale/global_templates.cc: Same. * testsuite/22_locale/operators.cc: Same. * testsuite/22_locale/static_members.cc: Same. * testsuite/26_numerics/c_math.cc: Same. * testsuite/26_numerics/complex_inserters_extractors.cc: Same. * testsuite/27_io/fpos.cc: Same. * testsuite/27_io/istream_extractor_arith.cc: Same. * testsuite/27_io/istream_unformatted.cc: Same. * testsuite/27_io/ostream_inserter_arith.cc: Same. * testsuite/27_io/streambuf.cc: Same. From-SVN: r37149 |
||
Brent Verner
|
aa1b2f7d95 |
debug_assert.h: new file
2000-08-14 Brent Verner <brent@rcfile.org> * testsuite/debug_assert.h: new file * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g changed conditional #include <c?assert.?h?> to unconditional #include <debug_assert.h> * mkcheck.in: added $SRC_DIR/testsuite to include search path for testsuite compile command. From-SVN: r35682 |
||
Levente Farkas
|
5312a1d9d1 |
std_fstream.h: Remove duplicate typdefs for ofstream and wofstream...
2000-08-14 Levente Farkas <lfarkas@mindmaker.hu> * bits/std_fstream.h: Remove duplicate typdefs for ofstream and wofstream, filebuf, wfilebuf, fstream, wfstream. * bits/std_streambuf.h: Same for streambuf, wstreambuf. * bits/std_sstream.h: Same for stringstream and wstringstream. Same for stringbuf, wstringbuf, istringstream, wistringstream, ostringstream, wostringstream. * testsuite/26_numerics/valarray.cc: Add test. From-SVN: r35681 |
||
Benjamin Kosnik
|
05298deabe |
stl-inst.cc: Change __sink_unused_warning to unsigned int for alpha.
2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * src/stl-inst.cc: Change __sink_unused_warning to unsigned int for alpha. * testsuite/26_numerics/complex_inserters_extractors.cc (testall): Change return type to void. * testsuite/25_algorithms/lower_bound.cc: Add return values. * bits/locale_facets.h: Add return values for the generic cases. From-SVN: r35183 |
||
Phil Edwards
|
5c61f0f2a8 |
complex_inserters_extractors.cc: Need cmath.
2000-06-08 Phil Edwards <pme@sourceware.cygnus.com> * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath. From-SVN: r34460 |
||
Benjamin Kosnik
|
b2dad0e372 |
libstdc++-v3: New directory.
2000-04-21 Benjamin Kosnik <bkoz@redhat.com> * libstdc++-v3: New directory. From-SVN: r33317 |