From: Jonathan Wakely Date: Tue, 12 Jul 2016 14:31:04 +0000 (+0100) Subject: Remove unused operator delete overloads (LWG 2458) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cbadfdced9aa8208b4450538402f5f2206b8423;p=gcc.git Remove unused operator delete overloads (LWG 2458) * libsupc++/new: Remove nothrow sized deletes (LWG 2458). * doc/xml/manual/intro.xml: Document DR 2458 status. * doc/html*: Regenerate. From-SVN: r238246 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a0ae95fbb94..9fe53c20947 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,9 @@ 2016-07-12 Jonathan Wakely + * libsupc++/new: Remove nothrow sized deletes (LWG 2458). + * doc/xml/manual/intro.xml: Document DR 2458 status. + * doc/html*: Regenerate. + * testsuite/20_util/pair/astuple/astuple.cc: Only include . * testsuite/23_containers/array/tuple_interface/tuple_element.cc: Only include . diff --git a/libstdc++-v3/doc/html/manual/bugs.html b/libstdc++-v3/doc/html/manual/bugs.html index 664d3925a36..55964b32fb0 100644 --- a/libstdc++-v3/doc/html/manual/bugs.html +++ b/libstdc++-v3/doc/html/manual/bugs.html @@ -454,6 +454,10 @@ Allocator default construction should be allowed to throw

Make noexcept specifications conditional. +

2458: + N3778 and new library deallocation signatures + +

Remove unused overloads.

2459: std::polar should require a non-negative rho diff --git a/libstdc++-v3/doc/xml/manual/intro.xml b/libstdc++-v3/doc/xml/manual/intro.xml index a47a3ecc4ba..7b836cddfbf 100644 --- a/libstdc++-v3/doc/xml/manual/intro.xml +++ b/libstdc++-v3/doc/xml/manual/intro.xml @@ -1019,6 +1019,13 @@ requirements of the license of GCC. Make noexcept specifications conditional. + 2458: + N3778 and new library deallocation signatures + + + Remove unused overloads. + + 2459: std::polar should require a non-negative rho diff --git a/libstdc++-v3/libsupc++/new b/libstdc++-v3/libsupc++/new index 5cd62695be2..8e8a3272a8d 100644 --- a/libstdc++-v3/libsupc++/new +++ b/libstdc++-v3/libsupc++/new @@ -135,12 +135,6 @@ void operator delete(void*, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT __attribute__((__externally_visible__)); void operator delete[](void*, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT __attribute__((__externally_visible__)); -#if __cpp_sized_deallocation -void operator delete(void*, std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT - __attribute__((__externally_visible__)); -void operator delete[](void*, std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT - __attribute__((__externally_visible__)); -#endif // Default placement versions of operator new. inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT