]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/include/parallel/settings.h
PR libstdc++/33489 continued.
authorBenjamin Kosnik <bkoz@montsouris.artheist.org>
Tue, 9 Oct 2007 20:48:38 +0000 (20:48 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 9 Oct 2007 20:48:38 +0000 (20:48 +0000)
commitdfbed397860edaeb0116956cc3cdf9d9f60cff3d
tree8f68ccf134a3987bca19b620318ed934b74ac3ab
parentafd428f812ea77aac8574629bdc1e779c7d050d4
PR libstdc++/33489 continued.

2007-10-09  Benjamin Kosnik  <bkoz@montsouris.artheist.org>

PR libstdc++/33489 continued.
* include/parallel/features.h (_GLIBCXX_LOSER_TREE): Set to zero.
(_GLIBCXX_LOSER_TREE_POINTER): Set to one.
(_GLIBCXX_LOSER_TREE_UNGUARDED): Set to zero.
(_GLIBCXX_LOSER_TREE_POINTER_UNGUARDED): Set to one.
* include/parallel/multiway_merge.h (parallel_multiway_merge):
Change array of value_type to array of value_type pointers.
  (multiway_merge_bubble): Same.
(multiway_merge_loser_tree): Same.
* include/parallel/merge.h (merge_advance_movc): Change to avoid
default construction.
* include/parallel/multiseq_selection.h (multiseq_partition):
Replace value_type, bool pair with value_type*, null-initialized.
* include/parallel/multiway_mergesort.h (parallel_sort_mwms):
Don't use array form of operator new for value_types.
(parallel_sort_mwms_pu): Same.
* include/parallel/quicksort.h (parallel_sort_qs_divide): Don't
use array form to construct pointer to value_type on stack,
instead use __builtin_alloca.
* include/parallel/random_shuffle.h (sequential_random_shuffle): Same,
but use operator new.
(parallel_random_shuffle_drs_pu): Same.
* include/parallel/partial_sum.h ( parallel_partial_sum_linear): Same.

* include/parallel/losertree.h: Format.
* include/parallel/settings.h: Format.

* include/parallel/multiway_merge.h: Move traits to....
* include/parallel/losertree.h: ... here.

From-SVN: r129179
libstdc++-v3/ChangeLog
libstdc++-v3/include/parallel/features.h
libstdc++-v3/include/parallel/losertree.h
libstdc++-v3/include/parallel/merge.h
libstdc++-v3/include/parallel/multiseq_selection.h
libstdc++-v3/include/parallel/multiway_merge.h
libstdc++-v3/include/parallel/multiway_mergesort.h
libstdc++-v3/include/parallel/partial_sum.h
libstdc++-v3/include/parallel/quicksort.h
libstdc++-v3/include/parallel/random_shuffle.h
libstdc++-v3/include/parallel/settings.h