libstdc++/71856 Define _GLIBCXX_PARALLEL_ASSERTIONS
commit530690e778b4257f6e52ef1199d536dbd392e4ba
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jul 2016 17:22:57 +0000 (13 17:22 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jul 2016 17:22:57 +0000 (13 17:22 +0000)
treee875a53d86f58a21dc9d0ac7f93f968fd5cf427b
parent58dbd9553a799e2213696cbe173e7dbe75736947
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238307 138bc75d-0d04-0410-961f-82ee72b054a4
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]