From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 94C313858417 for ; Mon, 6 Nov 2023 23:14:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 94C313858417 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 94C313858417 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699312444; cv=none; b=xY6OxAnzpX3q/n/yxpqqUMbGDN+PJdZou+YfPY57L0ZO8ajOL39QYSZAIVOTPnNqg0CR0zdEqgB3o0lKUS8zM+D+bhtCPd3Tx1jnRI80QDUHHLj41T2cCZeN6XfA8MyGENZNJdzaT1L7XbnyazdUprXcnePk89PAC5gStWDcyYk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699312444; c=relaxed/simple; bh=qZ7aZ+jQkWq+g/z1SQYGwmFI/efnqwdgXqKHX3WQP8A=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=uYMQ/tNLcWdC/TLKAbUl4apBRi41Df3Z9uiCCT6WhYRcVva+8ME+kZJM3rg9zF1e4odrcAL1kdWwcSr8TLjE2KNeZKRB2dY4SDXx/4qU2ZRjdQR7AVhleguYCa+QXtk5EEIOUYgjgIfpAspGDpQbfs864nxMMSspmaeoIULnkUM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1699312442; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tzrpq8i2XS+KRYTFkOauU30D0dfoLOhFM+jHuA5/73c=; b=JiA5JwyMTq+QNYONjf00s7XIn+0Vj6Qyjeq4QKM+qwzW40vewbvfAO0M1ZZqcUvHfSn8xt 4OaaFmEdqXihMZoKj8qnmhZ8z7oG5+lUo5YR8V6+BxlkKkpCINe2SyGGaciULXIZuQTie7 PpAQVX5COWs+HU4lt06uIn2Zi0wafB8= Received: from mail-yb1-f197.google.com (mail-yb1-f197.google.com [209.85.219.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-447-9gXkmkRzM3WLJCxo1MGLgw-1; Mon, 06 Nov 2023 18:14:01 -0500 X-MC-Unique: 9gXkmkRzM3WLJCxo1MGLgw-1 Received: by mail-yb1-f197.google.com with SMTP id 3f1490d57ef6-d9a541b720aso6163013276.0 for ; Mon, 06 Nov 2023 15:14:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699312440; x=1699917240; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tzrpq8i2XS+KRYTFkOauU30D0dfoLOhFM+jHuA5/73c=; b=NYfj6G04S1z+ppScsyH6PRu4ca5y64VjxBQsbfX4nBtleVbcRBIFcT0z6Lx6aT0jE8 iqOZBT/UwG4BdPxOdU/kzn6dZ9ddNcpoC3wB8kIKY7L2KtFRKPIKwISBbxSLR1jNKU1I oLUF979fcikefyFtZdy8RSbxEJomrmRiyth+9is2Aq/S+rwbpWBoy93Mq8UbHR/rlk2W bq8d2SZEsug0RfzN/Y1xEjtERZqawW9Yw8X8sP6tACkUkBSJ1SPp7vdLODMrqoOOS4nt 7lXuf41ZxjlZpIoWvpRs8ehVJgugTLfHEI5t3pfazI/wdtQCKEWQQu5/64sO+aKIIS6H MBdg== X-Gm-Message-State: AOJu0YxffiYcX3Ok0huEd64C3ALl7r4eiI882UM8Cq1gpY3vtBvJ8W2o ivXZytQy6JpjGWWVlKvEXmQY/UhxqqwF4VDUDG1WR5nz9HRzL+cQfQl3gII2war0zQEtcnxzgHi 1GwwhP938wvMfdZNZHA52wHd14Q7OGOfXmQ== X-Received: by 2002:a25:838b:0:b0:da0:b396:a44d with SMTP id t11-20020a25838b000000b00da0b396a44dmr27092047ybk.54.1699312440618; Mon, 06 Nov 2023 15:14:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHw9c1FOEFeiP/zD6TWC7w8NkekQwuxW2GjqaxAfhlnp1BnB0JFWvhoSlUuMYc7xu3lUMcp3K7GN4lbWCVYCC8= X-Received: by 2002:a25:838b:0:b0:da0:b396:a44d with SMTP id t11-20020a25838b000000b00da0b396a44dmr27092035ybk.54.1699312440248; Mon, 06 Nov 2023 15:14:00 -0800 (PST) MIME-Version: 1.0 References: <2f5f1761-0108-4900-9926-d49fa03b066c@gmail.com> In-Reply-To: <2f5f1761-0108-4900-9926-d49fa03b066c@gmail.com> From: Jonathan Wakely Date: Mon, 6 Nov 2023 23:13:49 +0000 Message-ID: Subject: Re: [PATCH][_Hashtable] Add missing destructor call To: =?UTF-8?Q?Fran=C3=A7ois_Dumont?= Cc: "libstdc++" , gcc-patches X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, 6 Nov 2023 at 21:39, Fran=C3=A7ois Dumont wr= ote: > > Noticed looking for other occasion to replace __try/__catch with RAII > helper. > > libstdc++: [_Hashtable] Add missing node destructor call > > libstdc++-v3/ChangeLog: > > * include/bits/hashtable_policy.h > (_Hashtable_alloc<>::_M_allocate_node): Add missing call to > node destructor > on construct exception. > > Tested under Linux x64, ok to commit ? > > I hope gmail appli will appreciate .diff instead of .patch. No, it doesn't. > .txt are not > in .gitignore so annoying to use for patches. You don't have to create the file inside the Git repo, e.g. I dump patches to /tmp/patch.txt