46942c8101
29 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Chris Gregory
|
f92ab29ffa |
Remove trailing whitespace from libstdc++-v3 files
2016-04-29 Chris Gregory <czipperz@gmail.com> * config/*: Remove trailing whitespace. * src/*: Likewise. * testsuite/tr1/*: Likewise. * testsuite/util/*: Likewise. From-SVN: r235645 |
||
Jakub Jelinek
|
818ab71a41 |
Update copyright years.
From-SVN: r232055 |
||
Jakub Jelinek
|
5624e564d2 |
Update copyright years.
From-SVN: r219188 |
||
Paolo Carlini
|
215acd2bae |
parser.c (cp_parser_init_declarator): Remove redundant check of decl_specifiers->type.
/gcc/cp 2014-08-14 Paolo Carlini <paolo.carlini@oracle.com> * parser.c (cp_parser_init_declarator): Remove redundant check of decl_specifiers->type. /gcc/testsuite 2014-08-14 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/cpp0x/alias-decl-4.C: Adjust for parser change. * g++.dg/cpp0x/decltype2.C: Likewise. * g++.dg/cpp0x/decltype3.C: Likewise. * g++.dg/cpp0x/pr60249.C: Likewise. * g++.dg/cpp0x/variadic-ex10.C: Likewise. * g++.dg/cpp0x/variadic-ex14.C: Likewise. * g++.dg/cpp0x/variadic2.C: Likewise. * g++.dg/cpp0x/variadic74.C: Likewise. * g++.dg/parse/error10.C: Likewise. * g++.dg/parse/error15.C: Likewise. * g++.dg/parse/error2.C: Likewise. * g++.dg/template/crash106.C: Likewise. * g++.dg/template/crash89.C: Likewise. * g++.dg/template/nontype7.C: Likewise. * g++.dg/template/void3.C: Likewise. * g++.dg/template/void7.C: Likewise. /libstdc++-v3 2014-08-14 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/26_numerics/random/linear_congruential_engine/ requirements/non_uint_neg.cc: Adjust for parser change. * testsuite/tr1/5_numerical_facilities/random/linear_congruential/ requirements/non_uint_neg.cc: Likewise. From-SVN: r213952 |
||
Richard Sandiford
|
aa118a03c4 |
Update copyright years in libstdc++-v3/
From-SVN: r206301 |
||
Richard Sandiford
|
405feeb871 |
Update copyright in libstdc++-v3.
From-SVN: r195701 |
||
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 |
||
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
|
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 |
||
Jakub Jelinek
|
748086b7b2 |
Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.
From-SVN: r145841 |
||
Paolo Carlini
|
085b55410d |
PR libstdc++/37986 (cont)
2008-11-12 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/37986 (cont) * include/tr1_impl/random (struct _Adaptor): Use only remove_reference on _Engine. (struct _Adaptor<_Engine*, _Distribution>): Add. * testsuite/tr1/5_numerical_facilities/random/variate_generator/ 37986.cc: Extend. From-SVN: r141784 |
||
Paolo Carlini
|
285743c92b |
re PR libstdc++/37986 (std::tr1::variate_generator does not conform to TR1.)
2008-11-11 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/37986 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer and remove_reference on _Engine. * testsuite/tr1/5_numerical_facilities/random/variate_generator/ 37986.cc: New. From-SVN: r141769 |
||
Paolo Carlini
|
04e8a79272 |
requirements/non_uint_neg.cc: Avoid -Wall warnings.
2007-12-10 Paolo Carlini <pcarlini@suse.de> * testsuite/tr1/5_numerical_facilities/random/linear_congruential/ requirements/non_uint_neg.cc: Avoid -Wall warnings. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/compile.cc: Likewise. * testsuite/util/testsuite_api.h: Likewise. From-SVN: r130746 |
||
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
|
44d5230cc3 |
re PR libstdc++/33128 (std::tr1::uniform_int returns value out of range)
2007-08-28 Paolo Carlini <pcarlini@suse.de> PR libstdc++/33128 * include/tr1_impl/random (uniform_int<>::_M_call): Deal with __urng() returning negative values. * testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc: New. From-SVN: r127849 |
||
Daniel Jacobowitz
|
eb0619fe9e |
re PR testsuite/31884 (priority_queue_dijkstra.cc operates on deallocated memory)
PR testsuite/31884 * testsuite/ext/pb_ds/example/priority_queue_dijkstra.cc (main): Do not access deleted nodes. * testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc, testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc, testsuite/27_io/basic_filebuf/open/char/4.cc, testsuite/27_io/objects/char/9.cc: Use dg-require-fileio. * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc, testsuite/ext/pb_ds/regression/hash_data_map_rand.cc, testsuite/ext/pb_ds/regression/trie_data_map_rand.cc, testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc, testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc, testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc, testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc, testsuite/ext/pb_ds/regression/priority_queue_rand.cc, testsuite/ext/pb_ds/regression/tree_data_map_rand.cc, testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc, testsuite/ext/throw_allocator/deallocate_global.cc, testsuite/ext/throw_allocator/check_delete.cc, testsuite/ext/throw_allocator/check_allocate_max_size.cc, testsuite/ext/throw_allocator/check_deallocate_null.cc, testsuite/ext/throw_allocator/check_new.cc, testsuite/ext/throw_allocator/deallocate_local.cc, testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/cons/gen1.cc, testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/cons/gen1.cc, testsuite/tr1/5_numerical_facilities/random/linear_congruential/cons/gen1.cc, testsuite/tr1/5_numerical_facilities/random/mersenne_twister/cons/gen1.cc, testsuite/23_containers/list/modifiers/insert/25288.cc: Use dg-require-time. From-SVN: r127590 |
||
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 |
||
Paolo Carlini
|
276116fdcc |
random (xor_combine<>::_M_initialize_max_aux): New.
2006-10-01 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (xor_combine<>::_M_initialize_max_aux): New. (xor_combine<>::operator()()): Tweak per N2079. * include/tr1/random.tcc (xor_combine<>::_M_initialize_max_aux): Define. (xor_combine<>::_M_initialize_max): Use it. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ cons/default.cc: Adjust. * docs/html/ext/tr1.html: Adjust. From-SVN: r117353 |
||
Paolo Carlini
|
53fdb33908 |
random.tcc (subtract_with_carry_01<>:: seed(_Gen&, false_type)): Fix _M_carry initialization.
2006-08-22 Paolo Carlini <pcarlini@suse.de> * include/tr1/random.tcc (subtract_with_carry_01<>:: seed(_Gen&, false_type)): Fix _M_carry initialization. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry/cons/default.cc: Qualify 1 as 1UL. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry/cons/gen1.cc: Likewise. From-SVN: r116334 |
||
Paolo Carlini
|
9aa53350c3 |
random (class subtract_with_carry_01): Add.
2006-08-22 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (class subtract_with_carry_01): Add. * include/tr1/random.tcc (subtract_with_carry_01<>:: seed(unsigned long), subtract_with_carry_01<>:: seed(_Gen&, false_type), subtract_with_carry_01<>:: operator(), operator<<(std::basic_ostream<>&, const subtract_with_carry_01<>&), operator>>(std::basic_istream<>&, subtract_with_carry_01<>&)): Define. * testsuite/tr1/5_numerical_facilities/random/ranlux3_01.cc: New. * testsuite/tr1/5_numerical_facilities/random/ranlux4_01.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry_01/cons/seed1.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry_01/cons/seed2.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry_01/cons/default.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry_01/cons/gen1.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry_01/requirements/typedefs.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry_01/operators/equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry_01/operators/not_equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry_01/operators/serialize.cc: Likewise. * docs/html/ext/howto.html: Add two implemented TR1 issues. * include/tr1/random.tcc (struct _To_Unsigned_Type): Move... * include/tr1/random: ... here. (class subtract_with_carry): Use it everywhere. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry/cons/seed1.cc: Qualify 1 as 1UL. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry/cons/seed2.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry/cons/default.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry/cons/gen1.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry/requirements/typedefs.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry/operators/equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry/operators/not_equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry/operators/serialize.cc: Likewise. From-SVN: r116327 |
||
Paolo Carlini
|
42031254bf |
random (class binomial_distribution<>): Add.
2006-08-18 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (class binomial_distribution<>): Add. * include/tr1/random.tcc (binomial_distribution<>::operator(), operator<<(std::basic_ostream<>&, const binomial_distribution<>&), operator>>(std::basic_istream<>&, binomial_distribution<>&, binomial_distribution<>::_M_waiting(), binomial_distribution<>:: _M_initialize()): Define. * testsuite/tr1/5_numerical_facilities/random/binomial_distribution/ requirements/typedefs.cc: New. * include/tr1/random (geometric_distribution<>:: geometric_distribution(const _RealType&)): Fix DEBUG_ASSERT limits. * include/tr1/random (poisson_distribution): Add normal_distribution member, adjust consistently; minor tweaks and rearrangements of the arithmetic. (operator>>(std::basic_istream<>&, poisson_distribution<>&)): Move out of line. * include/tr1/random.tcc: Adjust. * include/tr1/random.tcc (normal_distribution<>::operator()): Minor tweaks. From-SVN: r116245 |
||
Paolo Carlini
|
bbddd5d0c2 |
random (class poisson_distribution<>): Add.
2006-08-14 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (class poisson_distribution<>): Add. * include/tr1/random.tcc (poisson_distribution<>::operator(), operator<<(std::basic_ostream<>&, const poisson_distribution<>&), operator>>(std::basic_istream<>&, poisson_distribution<>&, poisson_distribution<>::poisson_distribution(const _RealType&)): Define. * testsuite/tr1/5_numerical_facilities/random/poisson_distribution/ requirements/typedefs.cc: New. * include/tr1/random.tcc (mersenne_twister<>::operator()): Tweak a bit for efficiency. * include/tr1/random.tcc (operator<<(std::basic_ostream<>&, const normal_distribution<>&), operator>>(std::basic_istream<>&, normal_distribution<>&)): Do not output _M_saved unnecessarily. * include/tr1/random: Trivial formatting fixes. * include/tr1/cmath: Likewise. From-SVN: r116149 |
||
Paolo Carlini
|
33251a2dc3 |
random (class gamma_distribution<>): Add.
2006-07-06 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (class gamma_distribution<>): Add. * include/tr1/random.tcc (gamma_distribution<>::operator(), operator<<(std::basic_ostream<>&, const gamma_distribution<>&)): Define. * testsuite/tr1/5_numerical_facilities/random/gamma_distribution/ requirements/typedefs.cc: New. From-SVN: r115236 |
||
Paolo Carlini
|
7f09067fef |
random (class normal_distribution<>): Add.
2006-06-24 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (class normal_distribution<>): Add. * include/tr1/random.tcc (normal_distribution<>::operator()): Define. * include/tr1/random.tcc (struct _Max): Remove, "inline" in the only user, mersenne_twister<>::max(). * include/tr1/random.tcc (struct _Shift): Move... * include/tr1/random: ... here. * include/tr1/random.tcc (linear_congruential<>:: linear_congruential(unsigned long), linear_congruential<>:: linear_congruential(_Gen&), mersenne_twister<>::max())): Move inline... * include/tr1/random: ... here. * include/tr1/random (exponential_distribution<>:: exponential_distribution(const result_type&)): Add missing _GLIBCXX_DEBUG_ASSERT. * testsuite/tr1/5_numerical_facilities/random/ exponential_distribution/requirements/typedefs.cc: New. * testsuite/tr1/5_numerical_facilities/random/ normal_distribution/requirements/typedefs.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ bernoulli_distribution/requirements/typedefs.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ geometric_distribution/requirements/typedefs.cc: Likewise. From-SVN: r114982 |
||
Paolo Carlini
|
3c618f8732 |
random (xor_combine<>::operator<<): Fix typo.
2006-06-19 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (xor_combine<>::operator<<): Fix typo. * include/tr1/random (bernoulli_distribution::min(), bernoulli_distribution::max(), geometric_distribution<>::min(), geometric_distribution<>::max()): Remove. * include/tr1/random (geometric_distribution<>::operator()): Simplify formula. * include/tr1/random: Minor cosmetic changes. * testsuite/tr1/5_numerical_facilities/random/discard_block/ operators/equal.cc: New. * testsuite/tr1/5_numerical_facilities/random/discard_block/ operators/not_equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/discard_block/ operators/serialize.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ operators/equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ operators/not_equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ operators/serialize.cc: Likewise. From-SVN: r114777 |
||
Paolo Carlini
|
e4ec6e1983 |
random (class xor_combine): Fix result_type typedef.
2006-06-15 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (class xor_combine): Fix result_type typedef. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ cons/default.cc: New. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ requirements/typedefs.cc: Tweak. * include/tr1/random: Minor cosmetic changes. From-SVN: r114676 |
||
Paolo Carlini
|
d8bc9819d9 |
acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): New, check for the availability of "/dev/random" and "/dev/urandom".
2006-06-09 Paolo Carlini <pcarlini@suse.de> * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): New, check for the availability of "/dev/random" and "/dev/urandom". * configure.ac: Use it. * include/tr1/random (random_device): Implement, a fall-back for systems not providing "/dev/random" and "/dev/urandom" included. * testsuite/tr1/5_numerical_facilities/random/random_device/ cons/default.cc: New. * testsuite/tr1/5_numerical_facilities/random/random_device/ cons/token.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/random_device/ requirements/typedefs.cc: Likewise. * config.h.in: Regenerate. * configure: Likewise. * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/ cons/gen1.cc: Minor tweak, add bool test. From-SVN: r114529 |
||
Paolo Carlini
|
d95c1c488a |
random (mersenne_twister<>::operator==, [...]): Implement.
2006-06-06 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (mersenne_twister<>::operator==, operator!=, operator<<, operator>>): Implement. * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/ operators/equal.cc: New. * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/ operators/not_equal.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/ operators/serialize.cc: Likewise. * include/tr1/random (subtract_with_carry<>::operator==): Fix, compare the whole state; use std::equal. * include/tr1/random: Minor formatting and style changes. From-SVN: r114459 |
||
Benjamin Kosnik
|
571c91a8c1 |
5_numerical_facilies: Move to...
2006-06-06 Benjamin Kosnik <bkoz@redhat.com> * testsuite/tr1/5_numerical_facilies: Move to... * testsuite/tr1/5_numerical_facilities: ...this. From-SVN: r114451 |