From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89796 invoked by alias); 2 Sep 2015 13:50:07 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 89768 invoked by uid 89); 2 Sep 2015 13:50:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-wi0-f178.google.com Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com) (209.85.212.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 02 Sep 2015 13:50:04 +0000 Received: by wiclp12 with SMTP id lp12so19988711wic.1 for ; Wed, 02 Sep 2015 06:50:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=UtICmsGs3nCL3dzZB6ZIucg3qjEIoxI4rWR2cauRmsU=; b=H/kDM609YDE+yhiZYLbbiVnR2gjNBLyrz6oSVgjqvOp7srxYCPAE5bpXqAXOKwSsMK s6v/33vm9NZ1v7yopSl60yCiclAe9eLiTa4Y8Qaj39xmVc+9liGoMMknkJ41+JYegbDQ aeETArPg2H7ZU3/QwzSVGgTG4JuuC9DkdRTyFs+wO2hJtI3CJAlB6PbaowH4Twc6iDF+ sdKILfySh9D8oJBV1iVn6seEseNAjZo2tGELQubyX0RUYkJM30oAsAU/gQlAkQeaiGGw ErfJG9MbaLC+SGg/5YPGX5pYlHrzWrkWpnGE67nfYuyhtQG+2ORQ7CSIqaTddC0CFF6j 4+dw== X-Gm-Message-State: ALoCoQkadONrsWLIsCQPEFBW6GHoMlmS10sT9nEjn86iu6qeZRG9TjZXT8praSyu298yMj69SjZU X-Received: by 10.194.9.42 with SMTP id w10mr37992069wja.146.1441201801345; Wed, 02 Sep 2015 06:50:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.64.193 with HTTP; Wed, 2 Sep 2015 06:49:41 -0700 (PDT) In-Reply-To: References: From: Dmitry Vyukov Date: Wed, 02 Sep 2015 13:50:00 -0000 Message-ID: Subject: Re: [Patch, libstdc++] Fix data races in basic_string implementation To: libstdc++@gcc.gnu.org Cc: GCC Patches , Alexander Potapenko , Kostya Serebryany Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00158.txt.bz2 On Wed, Sep 2, 2015 at 12:58 PM, Marc Glisse wrote: > On Tue, 1 Sep 2015, Dmitry Vyukov wrote: > >> The refcounted basic_string implementation contains several data races >> on _M_refcount: > > > There are several bug reports about races in basic_string in bugzilla (so= me > might even have been closed as wontfix because of the new implementation). > Does this also fix some of them? I've tried to search for "basic_string race" with all statuses: https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=3DUNCONFIRMED&bug_statu= s=3DNEW&bug_status=3DASSIGNED&bug_status=3DSUSPENDED&bug_status=3DWAITING&b= ug_status=3DREOPENED&bug_status=3DRESOLVED&bug_status=3DVERIFIED&bug_status= =3DCLOSED&cf_known_to_fail_type=3Dallwords&cf_known_to_work_type=3Dallwords= &component=3Dlibstdc%2B%2B&list_id=3D125385&query_format=3Dadvanced&short_d= esc=3Dbasic_string%20race&short_desc_type=3Dallwordssubstr But it does not yield anything interesting. What bugs can I reference?