aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-07-12 15:31:04 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2016-07-12 15:31:04 +0100
commit7cbadfdced9aa8208b4450538402f5f2206b8423 (patch)
tree666c0c98fd3eb1cf40dab23c5eedbbaf816af974 /libstdc++-v3
parent1b1c16e0c00778833f5d3faa65cb41c2a3bb2a7a (diff)
downloadgcc-7cbadfdced9aa8208b4450538402f5f2206b8423.zip
gcc-7cbadfdced9aa8208b4450538402f5f2206b8423.tar.gz
gcc-7cbadfdced9aa8208b4450538402f5f2206b8423.tar.bz2
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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/doc/html/manual/bugs.html4
-rw-r--r--libstdc++-v3/doc/xml/manual/intro.xml7
-rw-r--r--libstdc++-v3/libsupc++/new6
4 files changed, 15 insertions, 6 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a0ae95f..9fe53c2 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,9 @@
2016-07-12 Jonathan Wakely <jwakely@redhat.com>
+ * 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 <utility>.
* testsuite/23_containers/array/tuple_interface/tuple_element.cc:
Only include <array>.
diff --git a/libstdc++-v3/doc/html/manual/bugs.html b/libstdc++-v3/doc/html/manual/bugs.html
index 664d392..55964b3 100644
--- a/libstdc++-v3/doc/html/manual/bugs.html
+++ b/libstdc++-v3/doc/html/manual/bugs.html
@@ -454,6 +454,10 @@
<span class="emphasis"><em>Allocator default construction should be allowed to throw
</em></span>
</span></dt><dd><p>Make <code class="code">noexcept</code> specifications conditional.
+ </p></dd><dt><span class="term"><a class="link" href="../ext/lwg-defects.html#2458" target="_top">2458</a>:
+ <span class="emphasis"><em>N3778 and new library deallocation signatures
+ </em></span>
+ </span></dt><dd><p>Remove unused overloads.
</p></dd><dt><span class="term"><a class="link" href="../ext/lwg-defects.html#2459" target="_top">2459</a>:
<span class="emphasis"><em><code class="code">std::polar</code> should require a non-negative rho
</em></span>
diff --git a/libstdc++-v3/doc/xml/manual/intro.xml b/libstdc++-v3/doc/xml/manual/intro.xml
index a47a3ec..7b836cd 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.
<listitem><para>Make <code>noexcept</code> specifications conditional.
</para></listitem></varlistentry>
+ <varlistentry><term><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../ext/lwg-defects.html#2458">2458</link>:
+ <emphasis>N3778 and new library deallocation signatures
+ </emphasis>
+ </term>
+ <listitem><para>Remove unused overloads.
+ </para></listitem></varlistentry>
+
<varlistentry><term><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../ext/lwg-defects.html#2459">2459</link>:
<emphasis><code>std::polar</code> should require a non-negative rho
</emphasis>
diff --git a/libstdc++-v3/libsupc++/new b/libstdc++-v3/libsupc++/new
index 5cd6269..8e8a327 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