PR71856 try to fix Parallel Mode assertions again
commit28f45c485094c4f66a799109d527e2952f38ac71
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Dec 2016 12:08:14 +0000 (8 12:08 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Dec 2016 12:08:14 +0000 (8 12:08 +0000)
tree332cd6649ed19bd9f26c4dc860b47ab03c916a14
parentf2ce1bdede3ee15fc17fadf48d665ea6c1cf8276
PR71856 try to fix Parallel Mode assertions again

PR libstdc++/71856
* doc/xml/manual/using.xml: Document macro.
* include/bits/c++config [_GLIBCXX_DEBUG || _GLIBCXX_PARALLEL]
(__glibcxx_assert): Rename to __glibcxx_assert_impl.
[_GLIBCXX_DEBUG] (__glibcxx_assert): Expand to __glibcxx_assert_impl.
* include/parallel/base.h [_GLIBCXX_PARALLEL_ASSERTIONS]
(_GLIBCXX_PARALLEL_ASSERT): Expand to __glibcxx_assert_impl.
[!_GLIBCXX_PARALLEL_ASSERTIONS] (_GLIBCXX_PARALLEL_ASSERT): Define as
empty.
* testsuite/25_algorithms/headers/algorithm/
parallel_algorithm_assert2.cc: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243434 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/using.xml
libstdc++-v3/include/bits/c++config
libstdc++-v3/include/parallel/base.h
libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm_assert2.cc [new file with mode: 0644]