From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 0AB503857C62 for ; Fri, 10 Dec 2021 13:58:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0AB503857C62 Received: by mail-wr1-x436.google.com with SMTP id o13so15013059wrs.12 for ; Fri, 10 Dec 2021 05:58:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=6C9QbRzWkMvZIIBm8HbI/buqSvIREQb7Z5WEdrSn/Zw=; b=Bb/mZT4x3o0OxWGCfLsOtlpiEEky7Bnl287Jw2GVYrieZAnCHsCmK9Aw5LuQKrOzLY cMK+Nm63jt0IscRWPLeEn7yxGqTyMvxmw95crcpuC8TPffFIIXBDQHfDy0Jo3ieEHdRS RZrZyVSQ/YdGc9HAl9VplDJkxPxsn9nGGRoJZ+yU6V6Q6c0HpYUER1lmBlKC5TvZ/c1v 6GMZoQMLiGR1y5QLOFwlb8PRTSxvzSrQv1xOZXLntKxXA9uRF1VNm0VIvqI3IplX+aYw vAn+jhJXTbpxfuN82S9UL6qsqFc8bbSn6YJPp4ZceooFQw/yDiUMkeaAdtZzHqZoc8/8 h8Zg== X-Gm-Message-State: AOAM531J0MO8OtVkC710PQ959WFUZ248QEglq7/NBHNjtkg1c6wwUyC7 SdSM+FufpO2le5P19QIEvIAZUKAs27k= X-Google-Smtp-Source: ABdhPJyClwFXrNeRu3CY1EFupGgeE4mYFDAPAH2DRqJf2g3etBGGpOsw93gacHhnDcD+QDI/aji9WQ== X-Received: by 2002:a5d:5008:: with SMTP id e8mr13866414wrt.83.1639144705812; Fri, 10 Dec 2021 05:58:25 -0800 (PST) Received: from ?IPv6:2a01:e0a:1dc:b1c0:c882:5137:fc92:d1fe? ([2a01:e0a:1dc:b1c0:c882:5137:fc92:d1fe]) by smtp.googlemail.com with ESMTPSA id s8sm2647854wro.19.2021.12.10.05.58.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Dec 2021 05:58:25 -0800 (PST) Subject: Re: [Bug libstdc++/83077] sso-string @ gnu-versioned-namespace. To: Jonathan Wakely Cc: Jonathan Wakely , "libstdc++@gcc.gnu.org" References: <958c3e66-1b7c-6932-f5c9-ef8c16366d2a@gmail.com> From: =?UTF-8?Q?Fran=c3=a7ois_Dumont?= Message-ID: <684e64ab-a37a-1548-78b3-25cc7424b2e9@gmail.com> Date: Fri, 10 Dec 2021 14:58:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2021 13:58:29 -0000 On 09/12/21 11:30 pm, Jonathan Wakely wrote: > On Thu, 9 Dec 2021 at 21:10, François Dumont via Libstdc++ > wrote: >> On 08/12/21 5:21 pm, Jonathan Wakely wrote: >>> It looks like I never replied to this one, sorry. >>> >>> On Sun, 28 Feb 2021 at 14:51, François Dumont via Libstdc++ >>> wrote: >>>> Hi >>>> >>>> I took in bugzilla and started working on this enhancement. >>>> >>>> I am in the step of implementing what is in >>>> src/c++11/cow-stdexception.cc for the sso string. >>> Maybe I've misunderstood, but why? The content of that file is >>> explicitly for the COW string, and only the COW string. >> I meant to do something similar for the sso string. > But that's already done by src/c++98/stdexcept.cc src/c++11/cow-stdexcept.cc (462 lines) has far more code than src/c++98/stdexcept.cc (93 lines). I was wondering if I needed to implement something like _txnal_sso_string_* functions. Maybe it is the reason I am having the double free errors, will see.