From patchwork Sun Oct 21 19:13:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Fran=C3=A7ois_Dumont?= X-Patchwork-Id: 193053 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 964A92C008C for ; Mon, 22 Oct 2012 06:14:18 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1351451659; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC: Subject:References:In-Reply-To:Content-Type:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=SETW1fmwwJryWfG4AqhfSB99Blc=; b=I4F5tmMXYBy0ZAglnAue5sX5EhCpXlhJElrD+Ed8XxawlrepVo0xSOv1PnAaMN xlyABZwbAKFd/s/mrdBoxxKLL5KtEQ64RXXALBmnYh3qWJGd7P5wmPUHGOcZ4TgC PBDzwn7h/0TU9mMQ5purnU+CIzrK6AR88yHRUzkM5az4A= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=LkmA2/SzQwO/pk4sggse0Z4kEq0CmvdNelEWHhUEDCt2ltvBIqHHoFBQekTQws u0O+gLx+YEVyNpJcA8a7nWI7bpvL6RT0YGRXrvG+rmJER0FJ39rOMQ+sMR1F029e liRrb7fvOPw6vMQimjxYgWkKOmPmjE66TqRMHdx+zStps=; Received: (qmail 2375 invoked by alias); 21 Oct 2012 19:14:08 -0000 Received: (qmail 2342 invoked by uid 22791); 21 Oct 2012 19:14:07 -0000 X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, KHOP_THREADED, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ea0-f175.google.com (HELO mail-ea0-f175.google.com) (209.85.215.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 21 Oct 2012 19:13:58 +0000 Received: by mail-ea0-f175.google.com with SMTP id c1so694253eaa.20 for ; Sun, 21 Oct 2012 12:13:57 -0700 (PDT) Received: by 10.14.223.4 with SMTP id u4mr9296286eep.19.1350846837270; Sun, 21 Oct 2012 12:13:57 -0700 (PDT) Received: from localhost.localdomain (arf62-1-82-237-250-248.fbx.proxad.net. [82.237.250.248]) by mx.google.com with ESMTPS id i41sm12630951eem.7.2012.10.21.12.13.55 (version=SSLv3 cipher=OTHER); Sun, 21 Oct 2012 12:13:56 -0700 (PDT) Message-ID: <50844971.7080102@gmail.com> Date: Sun, 21 Oct 2012 21:13:53 +0200 From: =?ISO-8859-1?Q?Fran=E7ois_Dumont?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120829 Thunderbird/15.0 MIME-Version: 1.0 To: Paolo Carlini CC: "libstdc++@gcc.gnu.org" , gcc-patches Subject: Re: unordered set design modification References: <5083127B.6050306@gmail.com> <5083C4C5.9010807@oracle.com> In-Reply-To: <5083C4C5.9010807@oracle.com> 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 On 10/21/2012 11:47 AM, Paolo Carlini wrote: > On 10/20/2012 11:07 PM, François Dumont wrote: >> I have also put a fix in profile/map.h even if it is unrelated to >> this evolution. Should I commit it outside this patch ? > Yes please! > > Thanks, > Paolo. > > Attached patch applied. 2012-10-21 François Dumont * include/profile/map.h (map::emplace_hint): Remove invalid parenthesis. François Index: include/profile/map.h =================================================================== --- include/profile/map.h (revision 192623) +++ include/profile/map.h (working copy) @@ -253,7 +253,7 @@ { size_type size_before = size(); auto __res = _Base::emplace_hint(__pos.base(), - std::forward<_Args>(__args)...)); + std::forward<_Args>(__args)...); __profcxx_map_to_unordered_map_insert(this, size_before, size() - size_before); }