Add -D_GLIBCXX_ASSERTIONS to DEBUG_FLAGS
commite700cae575dd0f334005430907c387628eaf5c4d
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2018 19:52:46 +0000 (1 19:52 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2018 19:52:46 +0000 (1 19:52 +0000)
tree02c34fc0edd2a4239fadb2a51359fd012e2bb882
parent8da91d6a295020ab96249222b57ba3190124877d
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263235 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/configure
libstdc++-v3/configure.ac
libstdc++-v3/src/c++11/futex.cc