PR71856 try to fix Parallel Mode assertions again
commiteae0b895e0f4dce0601e27cc7c54c89be3c480b9
authorJonathan Wakely <jwakely@redhat.com>
Thu, 8 Dec 2016 12:08:14 +0000 (8 12:08 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 8 Dec 2016 12:08:14 +0000 (8 12:08 +0000)
tree332cd6649ed19bd9f26c4dc860b47ab03c916a14
parent66110738f0003a5434ffbd7e18a54ea898981efc
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.

From-SVN: r243434
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]