summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* 2009-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>redi2009-11-061-2/+2
| | | | | | | | | PR libstdc++/41949 * include/std/ostream: Adjust link. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153961 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-05 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-11-058-1220/+1157
| | | | | | | | | | | | | | | | * include/parallel/multiway_merge.h: Simple formatting and uglification fixes. * include/parallel/losertree.h: Likewise. * include/parallel/base.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/omp_loop.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153939 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-04 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-11-042-1408/+1370
| | | | | | | | | * include/parallel/multiway_merge.h: Simple formatting and uglification fixes. * include/parallel/losertree.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153907 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-03 David Krauss <potswa@mac.com>paolo2009-11-031-30/+41
| | | | | | | | | | | | | Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/41351 * include/bits/stl_algo.h (__rotate(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, random_access_iterator_tag)): Rewrite to use only std::swap in general and std::copy/std::copy_backward when safe. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153860 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-02 Benjamin Kosnik <bkoz@redhat.com>bkoz2009-11-031-328/+372
| | | | | | | | | | | | | | | | | | | | | | * include/std/future: Use base class with nested types. (__future_base): New. (__future_base::_Result_base): From _Future_result_base. (__future_base::_Result): From _Future_result. (__future_base::_Move_result): From _Move_future_result. (__future_base::_Ptr): From _Future_ptr. (__future_base::_State): From _Future_state. (__basic_future): From _Future_impl. * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust line numbers. * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Same. * testsuite/30_threads/shared_future/cons/assign_neg.cc: Same. * testsuite/30_threads/unique_future/cons/assign_neg.cc: Same. * testsuite/30_threads/unique_future/cons/copy_neg.cc: Same. * testsuite/30_threads/promise/cons/assign_neg.cc: Same. * testsuite/30_threads/promise/cons/copy_neg.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153834 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-31 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-11-011-33/+38
| | | | | | | | | | | | | | | | | | | | | | * include/std/chrono (struct __common_rep_type): New. (duration_cast(const duration<>&), duration<>::duration(const _Rep2&), duration<>::duration(const duration<>&), operator*(const duration<>&, const _Rep2&), operator*(const _Rep1&, const duration<>&), operator/(const duration<>&, const _Rep2&), time_point_cast(const time_point<>&)): Implement resolution of DR 1177 ([Ready] in Santa Cruz), change to not participate to overload resolution if the constraints are not met. * testsuite/20_util/duration/cons/1_neg.cc: Adjust dg-errors. * testsuite/20_util/duration/cons/dr974.cc: Likewise. * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust dg-error line numbers. * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise. * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153787 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-30 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-301-1/+1
| | | | | | | * include/bits/random.h: Fix typo in static_assert text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153767 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-30 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-301-22/+28
| | | | | | | | PR libstdc++/41759 * include/bits/random.h: Tweak a bit the text of some static_asserts. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153762 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-30 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-301-18/+10
| | | | | | | | | | | | * include/std/type_traits (__is_convertible_simple): Remove. (__is_convertible_helper): Adjust. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust dg-error line numbers. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153743 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-29 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-301-4/+17
| | | | | | | | | | | | | Douglas Gregor <doug.gregor@gmail.com> PR libstdc++/40925 (again) * include/bits/stl_pair.h (pair<_T1, _T2>::pair(_U1&&, const _T2&), pair<_T1, _T2>::pair(const _T1&, _U2&&)): Add, to deal correctly with move-only types in the presence of "null pointers". * testsuite/20_util/pair/40925.cc: Extend. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153733 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-29 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-291-21/+5
| | | | | | | | | | | | | | | | | * include/std/type_traits (__is_int_or_cref): Remove. (__is_convertible_helper): Fix per C++0x and simplify (the hack to suppress warnings isn't necessary anymore). * testsuite/20_util/is_convertible/requirements/typedefs.cc: New. * testsuite/20_util/is_convertible/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/is_convertible/value.cc: Likewise. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust dg-error line numbers. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153728 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-29 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-291-8/+7
| | | | | | | | | | | | | | | | PR libstdc++/40925 * include/bits/stl_pair.h (pair<_T1, _T2>::pair(_U1&&, _U2&&)): Use enable_if to remove it from the overload set when either _U1 is not convertible to _T1 or _U2 is not convertible to _T2. (pair<>::pair(_U1&&, _Arg0&&, _Args&&...)): Remove. 2009-10-29 Douglas Gregor <doug.gregor@gmail.com> PR libstdc++/40925 * testsuite/20_util/pair/40925.cc: Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153725 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-29 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-291-2/+1
| | | | | | | * include/decimal/decimal: Minor formatting and uglification fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153702 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-29 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-292-180/+128
| | | | | | | | * include/decimal/decimal: Minor formatting and uglification fixes. * include/decimal/decimal.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153701 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-28 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-281-4/+4
| | | | | | | | | * include/bits/stl_iterator_base_funcs.h: (next): Change template parameter name consistently with the resolution of DR 1011 ([Ready] in Santa Cruz). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153654 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-28 Johannes Singler <singler@kit.edu>singler2009-10-281-21/+7
| | | | | | | | | | | PR libstdc++/40852 * include/parallel/multiseq_selection.h (multiseq_partition, multiseq_selection): Avoid intermediate values exceeding the integer type range for very large inputs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153648 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-26 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-271-1/+2
| | | | | | | | | * include/std/chrono (duration<>::duration(const duration<>&)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153581 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/38796, Core issue 906jason2009-10-262-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | gcc/cp * cp-tree.h (DECL_DEFAULTED_OUTSIDE_CLASS_P): New. (DECL_DEFAULTED_IN_CLASS_P): New. * class.c (user_provided_p): Non-static. (check_methods): Use it. (check_bases_and_members): Check defaulted fns. (defaultable_fn_p): Move and rename to... * method.c (defaultable_fn_check): ...this. (defaulted_late_check): New. * pt.c (tsubst_decl): Call it. * decl2.c (grokfield): Adjust. * decl.c (cp_finish_decl): Adjust. (grok_special_member_properties): Use user_provided_p. libstdc++-v3 * include/std/future (~Future_result_base): Default outside class body. * include/std/system_error (error_category()): Likewise. * libsupc++/nested_exception.h (nested_exception): Remove exception specifications from defaulted methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153565 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-20 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-202-76/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/41773 Revert: 2009-10-20 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/basic_string.h (_S_construct(const _CharT*, size_type, const _Alloc&)): New, declare. (_S_construct(_CharT*, _CharT*, const _Alloc&), _S_construct(const _CharT*, const _CharT*, const _Alloc&), _S_construct(iterator, iterator, const _Alloc&), _S_construct(const_iterator, const_iterator, const _Alloc&)): New, forward to the latter. * include/bits/basic_string.tcc (_S_construct(const _CharT*, size_type, const _Alloc&)): Define. (basic_string(const basic_string&, size_type, size_type), basic_string(const basic_string&, size_type, size_type, const _Alloc&), basic_string(const _CharT*, size_type, const _Alloc&), basic_string(const _CharT*, const _Alloc&), basic_string(initializer_list<>, const _Alloc&)): Call the latter. * config/abi/pre/gnu.ver: Remove recently added exports. * src/string-inst.cc: Remove instantiations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153040 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-20 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-201-18/+13
| | | | | | | | | | PR libstdc++/41763 * include/bits/valarray_array.h (__valarray_default_construct, __valarray_fill_construct, __valarray_copy_construct, __valarray_sum __valarray_destroy_elements, __valarray_product): Do not qualify with __restrict__ pointers accessing data also accessed by other pointers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153039 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-20 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-202-27/+76
| | | | | | | | | | | | | | | | | | | | | * include/bits/basic_string.h (_S_construct(const _CharT*, size_type, const _Alloc&)): New, declare. (_S_construct(_CharT*, _CharT*, const _Alloc&), _S_construct(const _CharT*, const _CharT*, const _Alloc&), _S_construct(iterator, iterator, const _Alloc&), _S_construct(const_iterator, const_iterator, const _Alloc&)): New, forward to the latter. * include/bits/basic_string.tcc (_S_construct(const _CharT*, size_type, const _Alloc&)): Define. (basic_string(const basic_string&, size_type, size_type), basic_string(const basic_string&, size_type, size_type, const _Alloc&), basic_string(const _CharT*, size_type, const _Alloc&), basic_string(const _CharT*, const _Alloc&), basic_string(initializer_list<>, const _Alloc&)): Call the latter. * config/abi/pre/gnu.ver: Remove recently added exports. * src/string-inst.cc: Remove instantiations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153023 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2009-10-161-2/+5
| | | | | | | | | * include/c_compatibility/stdatomic.h: Include cstdatomic if __cplusplus. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152918 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2009-10-163-5/+7
| | | | | | | | | | | | | | | | | PR libstdc++/40654 PR libstdc++/40826 * src/atomic.cc (atomic_flag_test_and_set_explicit): Add static_cast from base to derived. (atomic_flag_clear_explicit): Same. * include/bits/atomic_2.h (__atomic2::atomic_flag): Public derivation. Remove value type constructor. * include/bits/atomic_0.h (__atomic0::atomic_flag): Same. * include/std/future (_Future_state): Use ATOMIC_FLAG_INIT to initialized the atomic_flag member. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152895 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-14 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-151-5/+8
| | | | | | | | | | | | | | * include/bits/basic_string.h (operator+=(initializer_list<>), append(initializer_list<>)): Forward to the append overload taking a const CharT* pointer and a size, thus avoiding instantiating unnecessarily in the built library the overload taking a pair of iterators. (operator=(initializer_list<>), assign(initializer_list<>)): Likewise for assign. (insert(iterator, initializer_list<>): Likewise for insert. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152794 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-14 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-141-2/+4
| | | | | | | | | * include/bits/c++config: Do not disable extern templates for string in plain parallel-mode and in profile-mode; add comment explaining _GLIBCXX_EXTERN_TEMPLATE == -1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152789 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-13 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-131-31/+19
| | | | | | | | * include/parallel/for_each_selectors.h: Minor uglification and stylistic fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152708 138bc75d-0d04-0410-961f-82ee72b054a4
* Added <initializer_list> to precompiled/stdc++.h.emsr2009-10-131-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152701 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-12 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-122-55/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152682 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-09 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-092-2/+2
| | | | | | | | | | * include/parallel/numeric (__adjacent_difference_switch): Fix typo. * include/parallel/for_each_selectors.h (__adjacent_difference_selector): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152589 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-08 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-081-81/+41
| | | | | | | * include/ext/bitmap_allocator.h: Minor clean-ups. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152566 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-05 John Bytheway <jbytheway@gmail.com>paolo2009-10-051-2/+1
| | | | | | | | | | PR libstdc++/41530 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&)): Fix to just move. * testsuite/20_util/tuple/cons/41530.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152461 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-05 Benjamin Kosnik <bkoz@redhat.com>bkoz2009-10-054-22/+1054
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Edward Smith-Rowland <3dw4rd@verizon.net> * include/decimal/decimal: Warn if decimal floating point types are not available. * acinclude.m4 (GLIBCXX_ENABLE_DECIMAL_FLOAT): New. * configure.ac: Use it. * configure: Regenerate. * config.h.in: Regenerate. 2009-10-05 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am: Remove stray line break. * include/decimal/decimal: Brief class doxygen markup. * libsupc++/exception: Whitespace cleanup. * testsuite/libstdc++-dg/conformance.exp: Add testsuite directory decimal. * scripts/create_testsuite_files (dlist): Same. * doc/xml/manual/using.xml: One column in table. Move after TR1. * testsuite/decimal/bad-cast.cc: Move to... * testsuite/decimal/cast_neg.cc: ...here. * testsuite/decimal/bad-mixed-mode.cc: Move to... * testsuite/decimal/mixed-mode_neg.cc: ...here. * testsuite/decimal/bad-operator.cc: Move to... * testsuite/decimal/operator_neg.cc: ...here. * doc/doxygen/user.cfg.in (INPUT): Add decimal/decimal. 2009-10-05 Janis Johnson <janis187@us.ibm.com> * doc/Makefile.am: Process new file. * doc/xml/manual/intro.xml: Ditto. * doc/xml/manual/using.xml: Document new header. * doc/xml/manual/status_cxxdecimal.xml: New file. * include/Makefile.am: Process new headers. * include/decimal/decimal: New file. * include/decimal/decimal.h: New file. 2009-10-05 Janis Johnson <janis187@us.ibm.com> * testsuite/decimal: New directory. * testsuite/decimal/bad-cast.cc: New test. * testsuite/decimal/bad-mixed-mode.cc: New test. * testsuite/decimal/bad-operator.cc: New test. * testsuite/decimal/binary-arith.cc: New test. * testsuite/decimal/comparison.cc: New test. * testsuite/decimal/compound-assignment.cc: New test. * testsuite/decimal/compound-assignment-memfunc.cc: New test. * testsuite/decimal/conversion-from-float.cc: New test. * testsuite/decimal/conversion-from-integral.cc: New test. * testsuite/decimal/conversion-to-generic-float.cc: New test. * testsuite/decimal/conversion-to-integral.cc: New test. * testsuite/decimal/ctor.cc: New test. * testsuite/decimal/incdec.cc: New test. * testsuite/decimal/incdec-memfunc.cc: New test. * testsuite/decimal/make-decimal.cc: New test. * testsuite/decimal/unary-arith.cc: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152457 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-05 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-051-31/+56
| | | | | | | | | | | | | | | | | | | * testsuite/lib/libstdc++.exp (check_v3_target_rvalref): Remove. * testsuite/lib/dg-options.exp (dg-require-rvalref): Likewise. 2009-10-05 Chris Jefferson <chris@bubblescope.net> * include/bits/stl_algo.h (__stable_partition_adaptive, __rotate_adaptive, __merge_adaptive, __merge_sort_loop): Extend to work with rvalue references in C++0x mode. * testsuite/25_algorithms/inplace_merge/moveable2.cc: New. * testsuite/25_algorithms/inplace_merge/moveable.cc: Likewise. * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise. * testsuite/25_algorithms/stable_sort/moveable2.cc: Likewise. * testsuite/25_algorithms/stable_sort/moveable.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152451 138bc75d-0d04-0410-961f-82ee72b054a4
* merge branch profile-stdlibrus2009-10-0338-10/+8159
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152431 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-02 Johannes Singler <singler@ira.uka.de>singler2009-10-026-78/+65
| | | | | | | | | | | | | | | * include/parallel/base.h: Take integer types from <tr1/cstdint>. * include/parallel/compatibility.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/random_number.h: Likewise; use numeric_limits<>::digit instead of sizeof()*8. * include/parallel/types.h: Likewise. * doc/html/manual/bk01pt12ch31s03.html: Document dependency on stdint.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152396 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-29 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-09-302-0/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152317 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-28 Johannes Singler <singler@ira.uka.de>singler2009-09-281-1/+0
| | | | | | | * include/parallel/for_each_selectors.h: Remove obsolete comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152234 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-25 Johannes Singler <singler@ira.uka.de>singler2009-09-251-86/+1
| | | | | | | | | | * include/parallel/include/parallel/checkers.h (is_sorted_failure, is_sorted_print_failures): Remove (unused). (__is_sorted): Remove default parameter for _Compare; remove inappropriate printf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152162 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-25 Johannes Singler <singler@ira.uka.de>singler2009-09-251-4/+3
| | | | | | | * include/parallel/base.h: Comment on presence of min/max duplicates. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152161 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-25 Johannes Singler <singler@ira.uka.de>singler2009-09-251-5/+4
| | | | | | | | * include/parallel/partition.h (__parallel_nth_element): Correct comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152160 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-24 Johannes Singler <singler@ira.uka.de>singler2009-09-247-21/+20
| | | | | | | | | | | | | | * include/parallel/algo.h: Uglify internal identifiers; correct line breaks. * include/parallel/for_each.h: Likewise. * include/parallel/numeric: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/workstealing.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152113 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-24 Johannes Singler <singler@ira.uka.de>singler2009-09-242-3/+2
| | | | | | | | | | | * include/parallel/base.h (_EqualFromLess): Move _Compare template parameter to the end as of others. * include/parallel/algobase.h (__lexicographical_compare_switch): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152112 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-23 Johannes Singler <singler@ira.uka.de>singler2009-09-2323-315/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/parallel/algobase.h: Uglify internal identifiers; correct line breaks. * include/parallel/algo.h: Likewise. * include/parallel/base.h: Likewise. * include/parallel/equally_split.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/find_selectors.h: Likewise. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/list_partition.h: Likewise. * include/parallel/losertree.h: Likewise. * include/parallel/merge.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/numeric: Likewise. * include/parallel/numericfwd.h: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/search.h: Likewise. * include/parallel/sort.h: Likewise. * include/parallel/workstealing.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152061 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/ext/vstring.h (to_wstring(long long),jsm282009-09-171-0/+2
| | | | | | | | to_wstring(unsigned long long), to_wstring(long double)): Disable for _GLIBCXX_HAVE_BROKEN_VSWPRINTF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151824 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-17 Johannes Singler <singler@ira.uka.de>singler2009-09-1737-2119/+2309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/parallel/algobase.h: Replace tabs by spaces; correct line breaks. * include/parallel/algorithmfwd.h: Likewise. * include/parallel/balanced_quicksort.h: Likewise. * include/parallel/base.h: Likewise. * include/parallel/checkers.h: Likewise. * include/parallel/compatibility.h: Likewise. * include/parallel/equally_split.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/for_each.h: Likewise. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/iterator.h: Likewise. * include/parallel/list_partition.h: Likewise. * include/parallel/losertree.h: Likewise. * include/parallel/merge.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/numeric: Likewise. * include/parallel/numericfwd.h: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/queue.h: Likewise. * include/parallel/quicksort.h: Likewise. * include/parallel/random_number.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/search.h: Likewise. * include/parallel/set_operations.h: Likewise. * include/parallel/settings.h: Likewise. * include/parallel/sort.h: Likewise. * include/parallel/types.h: Likewise. * include/parallel/unique_copy.h: Likewise. * include/parallel/workstealing.h: Likewise. * include/parallel/algo.h: Likewise; shorten _ForwardIterator to _FIterator. * include/parallel/find_selectors.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151791 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-16 Johannes Singler <singler@ira.uka.de>singler2009-09-1613-47/+47
| | | | | | | | | | | | | | | | | | | | | * include/parallel/base.h: Correct some comments accidentally changed during uglification. * include/parallel/find.h: Likewise. * include/parallel/find_selectors.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/queue.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/settings.h: Likewise. * include/parallel/sort.h: Likewise. * include/parallel/tags.h: Likewise. * include/parallel/workstealing.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151756 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-16 Johannes Singler <singler@ira.uka.de>singler2009-09-1617-459/+459
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/parallel/base.h (_EqualFromLess): Correct uglification of member variables and method arguments. * include/parallel/balanced_quicksort.h (_QSBThreadLocal): Likewise. * include/parallel/find_selectors.h (__find_first_of_selector): Likewise. * include/parallel/iterator.h (_IteratorTriple): Likewise. * include/parallel/multiseq_selection.h (_Lexicographic, _LexicographicReverse): Likewise. * include/parallel/multiway_mergesort.h (_Piece, _PMWMSSortingData): Likewise. * include/parallel/random_number.h (_RandomNumber): Likewise. * include/parallel/random_shuffle.h (_DRandomShufflingGlobalData): Likewise. * include/parallel/set_operations.h (__symmetric_difference_func, __difference_func, __intersection_func, __union_func, parallel_set_union, parallel_set_intersection, parallel_set_difference, parallel_set_symmetric_difference): Likewise. * include/parallel/tags.h (parallel_tag): Likewise. * include/parallel/workstealing.h (_Job): Likewise. * include/parallel/multiway_merge.h (__multiway_merge_k_variant_sentinel_switch:operator()) correct uglification of _*LoserTree*. * include/parallel/losertree.h (_*LoserTree*): Likewise; correct uglification of member variables and method arguments. * include/parallel/par_loop.h: Correct uglification of finish_iterator. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/algo.h: Likewise; uglify c_rand_number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151754 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-16 Johannes Singler <singler@ira.uka.de>singler2009-09-166-57/+48
| | | | | | | | | | | | | | | * include/parallel/base.h (_PseudoSequenceIterator, _PseudoSequence): Replace redundant _Self. * include/parallel/iterator.h (_IteratorPair, _IteratorTriple): Replace redundant _Self. * include/parallel/algo.h: Correct accidental _Self in comments. * include/parallel/losertree.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/random_shuffle.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151743 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-16 Johannes Singler <singler@ira.uka.de>singler2009-09-1640-7016/+7016
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/parallel/algobase.h: Uglify internal identifiers. * include/parallel/algo.h: Likewise. * include/parallel/algorithmfwd.h: Likewise. * include/parallel/balanced_quicksort.h: Likewise. * include/parallel/base.h: Likewise. * include/parallel/checkers.h: Likewise. * include/parallel/compatibility.h: Likewise. * include/parallel/compiletime_settings.: Likewise. * include/parallel/equally_split.h: Likewise. * include/parallel/features.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/find_selectors.h: Likewise. * include/parallel/for_each.h: Likewise. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/iterator.h: Likewise. * include/parallel/list_partition.h: Likewise. * include/parallel/losertree.h: Likewise. * include/parallel/merge.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/numeric: Likewise. * include/parallel/numericfwd.h: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/queue.h: Likewise. * include/parallel/quicksort.h: Likewise. * include/parallel/random_number.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/search.h: Likewise. * include/parallel/set_operations.h: Likewise. * include/parallel/settings.h: Likewise. * include/parallel/sort.h: Likewise. * include/parallel/tags.h: Likewise. * include/parallel/types.h: Likewise. * include/parallel/unique_copy.h: Likewise. * include/parallel/workstealing.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151741 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-11 Johannes Singler <singler@ira.uka.de>singler2009-09-111-12/+7
| | | | | | | | | | | | * include/parallel/multiway_merge.h (multiway_merge_exact_splitting): Deallocate borders correctly. (parallel_multiway_merge): Remove unnecessarily complicated allocation, random access iterators are default-constructible; deallocate ne_seqs correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151640 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud