https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71856
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Thu Dec 8 12:41:07 2016 New Revision: 243436 URL: https://gcc.gnu.org/viewcvs?rev=243436&root=gcc&view=rev Log: 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. Added: branches/gcc-6-branch/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm_assert2.cc Modified: branches/gcc-6-branch/libstdc++-v3/ChangeLog branches/gcc-6-branch/libstdc++-v3/doc/xml/manual/using.xml branches/gcc-6-branch/libstdc++-v3/include/bits/c++config branches/gcc-6-branch/libstdc++-v3/include/parallel/base.h