From patchwork Thu Jun 14 12:49:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 929423 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-479716-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="NHmhcSOY"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4163P42vW5z9ryk for ; Thu, 14 Jun 2018 22:49:58 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=bTyk0055nAiNyWsn qP2+WrjXYT/u6lG2W+xAdcroJQXvMQoDOKK9qsu+hmTVDSYPrHtKpQ4CrWSdlf97 tgjR5Jz16V8dJ+USCGYmCNwQ38ZByEhO0txdtW2NTYS1ieqs+ueBCWjJuY0uhVvd EglIgp5d+2+GDIzjdfuYKcLaPFA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=aenpjMmfJ6mHFpaq/21oX0 CNVjk=; b=NHmhcSOYEJ/Lj++XDKTn1tV/3TmwjTzBVwAGiztinAnY04dry98Lpv cZ3rM788ZrtgD5MX9ZipqOrWWEV1TVDv7V1povqdNyE7OwgQo483qo8D69WPih6e S6SRsOv9mxB/4h9o4lE/XfClpRazOAkneSrnZtnO9HcSnFUpKstkU= Received: (qmail 38655 invoked by alias); 14 Jun 2018 12:49:51 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 38162 invoked by uid 89); 14 Jun 2018 12:49:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Jun 2018 12:49:49 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E748F406E897 for ; Thu, 14 Jun 2018 12:49:47 +0000 (UTC) Received: from localhost (unknown [10.33.36.35]) by smtp.corp.redhat.com (Postfix) with ESMTP id A42011117624 for ; Thu, 14 Jun 2018 12:49:47 +0000 (UTC) Date: Thu, 14 Jun 2018 13:49:46 +0100 From: Jonathan Wakely To: gcc-patches@gcc.gnu.org Subject: Fwd: Re: [PATCH] PR libstdc++/86127 avoid unnecessary allocator conversions Message-ID: <20180614124946.GF6295@redhat.com> MIME-Version: 1.0 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.2 (2017-12-15) 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 Date: Thu Jun 14 11:57:11 2018 +0100 Fix errors in libstdc++-v3/ChangeLog entries. 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)