libstdc++/71856 Define _GLIBCXX_PARALLEL_ASSERTIONS
commite383deac8ba094f612386a166239f33752fa5808
authorJonathan Wakely <jwakely@redhat.com>
Wed, 13 Jul 2016 17:22:57 +0000 (13 18:22 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 13 Jul 2016 17:22:57 +0000 (13 18:22 +0100)
treee875a53d86f58a21dc9d0ac7f93f968fd5cf427b
parent17f8dc9367493b5bd97d67c40de8c13041393891
libstdc++/71856 Define _GLIBCXX_PARALLEL_ASSERTIONS

PR libstdc++/71856
* include/bits/c++config (_GLIBCXX_ASSERTIONS): Define to 1 not empty.
* include/parallel/compiletime_settings.h (_GLIBCXX_ASSERTIONS):
Rename to _GLIBCXX_PARALLEL_ASSERTIONS and make default value depend
on _GLIBCXX_ASSERTIONS.
* include/parallel/balanced_quicksort.h: Rename _GLIBCXX_ASSERTIONS.
Include <unistd.h> for sleep.
* include/parallel/losertree.h: Rename _GLIBCXX_ASSERTIONS.
* include/parallel/merge.h: Likewise.
* include/parallel/multiway_merge.h: Likewise.
* include/parallel/partition.h: Likewise.
* include/parallel/queue.h: Likewise.
* include/parallel/sort.h: Likewise.
* testsuite/25_algorithms/headers/algorithm/
parallel_algorithm_assert.cc: New.

From-SVN: r238307
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/c++config
libstdc++-v3/include/parallel/balanced_quicksort.h
libstdc++-v3/include/parallel/compiletime_settings.h
libstdc++-v3/include/parallel/losertree.h
libstdc++-v3/include/parallel/merge.h
libstdc++-v3/include/parallel/multiway_merge.h
libstdc++-v3/include/parallel/partition.h
libstdc++-v3/include/parallel/queue.h
libstdc++-v3/include/parallel/sort.h
libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm_assert.cc [new file with mode: 0644]