Re: [PATCH] PR libstdc++/86127 avoid unnecessary allocator conversions

Message ID 20180614124946.GF6295@redhat.com
State New
Headers show
Series
  • Re: [PATCH] PR libstdc++/86127 avoid unnecessary allocator conversions
Related show

Commit Message

Jonathan Wakely June 14, 2018, 12:49 p.m.
Forwarding to gcc-patches ...


On 14/06/18 10:26 +0100, Jonathan Wakely wrote:
> On 14/06/18 07:45 +0200, Fran├žois Dumont wrote:

> > You're still using __gnu_cxx::__alloc_traits for 

> > _Fwd_list_base::_Node_alloc_traits to get the _S_always_equal().

> > 

> > So you might perhaps cleanup this part of the ChangeLog entry.

> 

> Oops.


This patch fixes that, and another ChangeLog mistake I made recently.

Committed to trunk.


commit 8e65330923edfeee32bb8eb253f6459eb7accfac
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Jun 14 11:57:11 2018 +0100

    Fix errors in libstdc++-v3/ChangeLog entries.

Patch

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 923841ab2c7..490dd247b1d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -12,8 +12,6 @@ 
 	PR libstdc++/86127
 	* include/bits/forward_list.h (_Fwd_list_base::_Tp_alloc_type): Remove
 	unused typedef.
-	(_Fwd_list_base::_Node_alloc_traits): Use allocator_traits instead of
-	__gnu_cxx::__alloc_traits.
 	(_Fwd_list_base::_M_create_node, _Fwd_list_base::_M_erase_after):
 	Use node allocator to create and destroy elements.
 	(forward_list::_Tp_alloc_type): Remove unused typedef.
@@ -80,6 +78,7 @@ 
 	* include/bits/uniform_int_dist.h (uniform_int_distribution): Add
 	non-explicit default constructors. Remove default argument for first
 	parameter of explicit constructor.
+	* include/ext/random
 	(simd_fast_mersenne_twister_engine, beta_distribution)
 	(rice_distribution, nakagami_distribution, pareto_distribution)
 	(k_distribution, arcsine_distribution, hoyt_distribution)