Add -D_GLIBCXX_ASSERTIONS to DEBUG_FLAGS
authorJonathan Wakely <jwakely@redhat.com>
Wed, 1 Aug 2018 19:52:46 +0000 (20:52 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 1 Aug 2018 19:52:46 +0000 (20:52 +0100)
commit9fbd2e55a11d518f049ed3e7b0b9f647383eb020
tree02c34fc0edd2a4239fadb2a51359fd012e2bb882
parentc191b1abe9db08abdf3b2d792980e8eee63735b5
Add -D_GLIBCXX_ASSERTIONS to DEBUG_FLAGS

Enable assertions in the extra debug library built when
--enable-libstdcxx-debug is used. Replace some Debug Mode assertions
in src/c++11/futex.cc with __glibcxx_assert, because the library will
never be built with Debug Mode.

* configure: Regenerate.
* configure.ac: Add -D_GLIBCXX_ASSERTIONS to default DEBUG_FLAGS.
* src/c++11/futex.cc: Use __glibcxx_assert instead of
_GLIBCXX_DEBUG_ASSERT.

From-SVN: r263235
libstdc++-v3/ChangeLog
libstdc++-v3/configure
libstdc++-v3/configure.ac
libstdc++-v3/src/c++11/futex.cc