libstdc++: Remove <debug/array>
authorFrançois Dumont <fdumont@gcc.gnu.org>
Sat, 7 Nov 2020 09:04:31 +0000 (10:04 +0100)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 9 Nov 2020 20:20:01 +0000 (21:20 +0100)
commit6db082477ad839438c4b54fc61083276c68d47ec
treef11262de46554e263d22f585467efd29b3cdcc01
parent83f1c165d2a2ebfba1164c730c0a65210fc4b285
libstdc++: Remove <debug/array>

Add _GLIBCXX_ASSERTIONS assert in normal std::array and remove __gnu_debug::array
implementation.

libstdc++-v3/ChangeLog:

* include/debug/array: Remove.
* include/Makefile.am: Remove <debug/array>.
* include/Makefile.in: Regenerate.
* include/experimental/functional: Adapt.
* include/std/array: Move to _GLIBCXX_INLINE_VERSION namespace.
* include/std/functional: Adapt.
* include/std/span: Adapt.
* testsuite/23_containers/array/debug/back1_neg.cc:
Remove dg-require-debug-mode. Add -D_GLIBCXX_ASSERTIONS option.
* testsuite/23_containers/array/debug/back2_neg.cc: Likewise.
* testsuite/23_containers/array/debug/front1_neg.cc: Likewise.
* testsuite/23_containers/array/debug/front2_neg.cc: Likewise.
* testsuite/23_containers/array/debug/square_brackets_operator1_neg.cc:
Likewise.
* testsuite/23_containers/array/debug/square_brackets_operator2_neg.cc:
Likewise.
* testsuite/23_containers/array/element_access/60497.cc
* testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
Remove.
* testsuite/23_containers/array/tuple_interface/get_neg.cc
* testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc
* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc
18 files changed:
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/debug/array [deleted file]
libstdc++-v3/include/experimental/functional
libstdc++-v3/include/std/array
libstdc++-v3/include/std/functional
libstdc++-v3/include/std/span
libstdc++-v3/testsuite/23_containers/array/debug/back1_neg.cc
libstdc++-v3/testsuite/23_containers/array/debug/back2_neg.cc
libstdc++-v3/testsuite/23_containers/array/debug/front1_neg.cc
libstdc++-v3/testsuite/23_containers/array/debug/front2_neg.cc
libstdc++-v3/testsuite/23_containers/array/debug/square_brackets_operator1_neg.cc
libstdc++-v3/testsuite/23_containers/array/debug/square_brackets_operator2_neg.cc
libstdc++-v3/testsuite/23_containers/array/element_access/60497.cc
libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_debug_neg.cc [deleted file]
libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_neg.cc
libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc [deleted file]
libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc