Message ID | patch-19144-tamar@arm.com |
---|---|
State | New |
Headers |
Return-Path: <gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AF6383858283 for <patchwork@sourceware.org>; Fri, 10 Jan 2025 14:34:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF6383858283 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=h8hWrOj+ X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061a.outbound.protection.outlook.com [IPv6:2a01:111:f403:2613::61a]) by sourceware.org (Postfix) with ESMTPS id EA1963858C35; Fri, 10 Jan 2025 14:32:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EA1963858C35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EA1963858C35 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2613::61a ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1736519538; cv=pass; b=CetVzZDLkUsDv2q2Tym1coVkePC0v4xdPQm3SLW3VSuGa9q31AoLKrNHzkHxhOum38V0wF3ltKg5DXjw7qwaBswFHESsJuDqvXMZEht5tIDDkCV+NCUJZAnkIOrMRfEEmxcRxZVHFzGzuA8jkFGl6HHlNra5vbtXKXfJ1HNaaiQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1736519538; c=relaxed/simple; bh=UGb39wxZil+C8SedowUBMmfZg5Lq75ZPb9MeHxUhJEc=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=HEQme98UpYwsC8WcymTlijiELW7N4XS5npJKUlI3bPsOwxFBw14b0uQ5zgcFj2d1Xry6kk2H7QyLY1zoxbCbv95E9lNgwdiN87bx3MoJAc3+RwPsMH4bH53sCRhj8rNz26pmUtYgkO6u/yotKvBUYi5bG6a6g0RKojMWulLBVas= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA1963858C35 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=t8Fx0kwVtmmBQuIXRiVqmt+QnGcL3Qv5e3KhnhBAzUK+ff0XEFLG9bNmExOwC0aiQiUBsSnGPMTEj5SXPS9awBesJkOrzE4bjiDkzJjxU5h73IxlVzQu1KSvRI2L6jDhMKIUiJEahMzm5h1p9wjmFoSPXaeuUaBtgcmdo40sdj5+CqbANvM3vMw71lme/Q2wiE5UZAnDlsUNixqISZE4HeLph5yMN1jvAYz4U87Lg6kaEjG/BVOy0QLmW1kuQ0fuND5rzdd8Q08/7Ve2YBUi1sGtj1NYeeAhD3czWayHfm0KaBwCN6F66fFB2pHZxsRCJKooZpLLStnsFZyZSa7PNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=keV00KLefKG2BmLcYFJc2XWo8Dw+CrRGm+apeuOXMKg=; b=lpHevmahB6Zf1N72EqDWa61nCLzpTHOeKnoEoy1nhlFAd2NOOmyGjLzUxebigWuHWj8bgOnaQzQ7nIEcslDcjHp/c8Q5KqEno2yO3ehpZLbcXj/wapkXelqqUyYA32DMXwhDrgZWuvXXdf1ORLijn7iZ4DJyj/Q3L1KoC1J++YzIf14Nr9VUvdwgxtyZJIL/5nL6/DGL4hqQxnXIFhLqgikwnxTG8hKI8tdiH929J77rtrk6jSfVdG4/0O/jD1AhU8S9yyo3GxILpyVD7aE4VBGjqdUdwL9aOeGrWT2TK7S/zLBLk4QNf7w2VCX/9F+023igRExqMKDIZDCyUcVbxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=keV00KLefKG2BmLcYFJc2XWo8Dw+CrRGm+apeuOXMKg=; b=h8hWrOj+hPGYaSZZv2k/KCFb1fclls2cNjsRrEfIQ1n8wdSl9DDg/mIppAj/69cUrdsPpo2j59GgQ81KKoAKI1hkVvDv1y8+0nFJwZa86MWfHcTYmLoEKidTEJ7NeYN1tY6AyV4NbZSA0rouq8/z91bmL7btTewMlRqDdePsf8I= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by AM7PR08MB5447.eurprd08.prod.outlook.com (2603:10a6:20b:10b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8335.13; Fri, 10 Jan 2025 14:32:14 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::89dc:c731:362b:7c69]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::89dc:c731:362b:7c69%2]) with mapi id 15.20.8314.015; Fri, 10 Jan 2025 14:32:14 +0000 Date: Fri, 10 Jan 2025 14:32:11 +0000 From: Tamar Christina <tamar.christina@arm.com> To: gcc-patches@gcc.gnu.org Cc: nd@arm.com, libstdc++@gcc.gnu.org, jwakely@redhat.com Subject: [PATCH][libstdc++]: backport inline keyword on std::find Message-ID: <patch-19144-tamar@arm.com> Content-Type: multipart/mixed; boundary="zSqINscArU5GXmLd" Content-Disposition: inline X-ClientProxiedBy: LO6P123CA0037.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:2fe::9) To VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR08MB5325:EE_|AM7PR08MB5447:EE_ X-MS-Office365-Filtering-Correlation-Id: 67dc78ee-4a65-4f6b-9747-08dd31839366 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?IrydFaTjFCKUj44xYJPsqvCBCEMTh4F?= =?utf-8?q?PB5RxZlKx7yaj5RGUZJACQSEiq4UpRBRxjeN6YWW0vEIVgYEcDRW7qzVP/mRYXIaV?= =?utf-8?q?BZhtoik222ST6+oJlaehuGH0ecRfXZXeUXZgw8AMgVluPnixV547JIKty63uMcYpC?= =?utf-8?q?nsmU6sNrQDJRS1cVzelVpMFRTNlQjanHClMxxW9bJSCVvW5NxE/A3x/RMUD6t58TL?= =?utf-8?q?BuI49mF2HputdV7E42mjPcJLOs141SsWR7OcAiHJtD6S5t5o+LF8CDPor+RKhmLr5?= =?utf-8?q?I0HPpGcAjash7RaDpA6cwpWWzgkUMAzb+TfzPxwc+YD9F+JUdNUdgB0+mXwuJu841?= =?utf-8?q?WK9mN601bsnkv1orX98ofEEjNxMoXpYHvp8jNtt2BDqx/UiHkrbaum7jvPGkRZXRp?= =?utf-8?q?HJQQj1ey97YHxO7adrFZenOEacwd4jmdhcWt8gil0/LWMF42H/8iaX0LgvTridwUt?= =?utf-8?q?W1KKXlRhDFVJB8MIow6qm11XH0TznlV2Dmkq10SJlLSJ82q0k/Ja8UpjzvG9I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255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB5325.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?zRLsuB0ZYHM4NQR5a09VYYZEZ854?= =?utf-8?q?QSyBkRTVB9bB9wdobUbmvnXcgUOKJDA5V/5rJxAd4+f8O3H0BaZuc1HZHUijSqcDf?= =?utf-8?q?kJCvUPeIi6g2Ojc1wnfbXYtpjMTa4YLBOs/VMhwBEAfZ0nbaKwUOyE18d7N7vXS7n?= =?utf-8?q?5Kq0+a3stoHWrvxrhlr9l8m1gJIBtmPai8j/dXXYcskQ/4xnIIyWp4fqKJnOat3B5?= =?utf-8?q?48JWueEyEisw6ox+Y7zzvVyfICZbecKSMz5LEwVU9naatNJWhCroWuIv9XlxrP/9E?= =?utf-8?q?IJ8Q9opbU7feVTvMdDXJAvjJA602uv919qBSa0e56OKjmkMYf+mbVTPGJP5VzWay4?= =?utf-8?q?q0UZFPkGEvOoam+By1uJMkKq27QoRut87nXsBv00JYJpVu+r6ipNuq8+WWcCiPlUO?= =?utf-8?q?8qyKwApIQevcnKaPS/5ev11AXhvCZUlf2Jy5Dz/GZ0mofOKGCpMM5VJjNPI9i70Bx?= =?utf-8?q?Y4MQpe+Khf1WlrR7dpmJuFdRZat5fP6M9eAeJ/wVC2Q75nu/IgwP5Ajp1r8CrUSzt?= =?utf-8?q?DVM1qqr1wTpb7SplB0OMIN7RdzzDb1rTAYeFEd32/J9GF5zXePpxLqQg86pVgrLhT?= =?utf-8?q?qAVrvhXDuIMlVIDnqO6ItaFxU/cUgSlVH73632Wpkz2/l5XChJuKwiItbFy9y6gZG?= =?utf-8?q?KXFlL0oVj+YtcMPnO/Usp21Kj5M250V/qWHEIlYk7Ei8aiTqRhNaslpqSLhUuKTiW?= =?utf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-Message-Id: 67dc78ee-4a65-4f6b-9747-08dd31839366 X-MS-Exchange-CrossTenant-AuthSource: VI1PR08MB5325.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2025 14:32:14.1426 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vpEb1VzdFJmk1f1yFuekP8yNXfig6jRI/SsF/kIklQA5BhfbaiwK0lnilecPte7VQWd1wPmxd7OXmm4JI8+jBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5447 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org |
Series |
[libstdc++] : backport inline keyword on std::find
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_gcc_build--master-arm | success | Build passed |
linaro-tcwg-bot/tcwg_gcc_check--master-arm | success | Test passed |
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 | success | Build passed |
linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 | success | Test passed |
Commit Message
Tamar Christina
Jan. 10, 2025, 2:32 p.m. UTC
Hi All, This is a backport version of the same patch as https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671618.html for the release branches. I'd like to backport this to GCC 14,13 and 12 where the first regression showed up. I am however aware that GCC 12 is going to get it's last release soon and as such a backport to 12 may not be desirable for a non correctness fix. If that is the case I would be happy with just 13 and 14. I've benchmarked the patch on the branches and see the regressions go away to what they were in GCC 11. Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. Ok for GCC-14 and GCC-13? Thanks, Tamar libstdc++-v3/ChangeLog: * include/bits/hashtable.h (find): Add inline keyword. --- --
Comments
On Fri, 10 Jan 2025 at 14:32, Tamar Christina <tamar.christina@arm.com> wrote: > > Hi All, > > This is a backport version of the same patch as > https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671618.html > > for the release branches. I'd like to backport this to GCC 14,13 and 12 where > the first regression showed up. I am however aware that GCC 12 is going to > get it's last release soon and as such a backport to 12 may not be desirable > for a non correctness fix. > > If that is the case I would be happy with just 13 and 14. > > I've benchmarked the patch on the branches and see the regressions go away to > what they were in GCC 11. > > Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. > > Ok for GCC-14 and GCC-13? Yes for both. I'm tempted to say it's OK for 12 as well. Maybe leave it a few weeks in case we get reports of negative consequences for the 13 and 14 backport? > > Thanks, > Tamar > > libstdc++-v3/ChangeLog: > > * include/bits/hashtable.h (find): Add inline keyword. > > --- > diff --git a/libstdc++-v3/include/bits/hashtable.h b/libstdc++-v3/include/bits/hashtable.h > index 834288c747c28e8625d9d8db387e6abe719b6c87..f5f421d2fd3218d827d673cf7dd1ec9cd9495982 100644 > --- a/libstdc++-v3/include/bits/hashtable.h > +++ b/libstdc++-v3/include/bits/hashtable.h > @@ -1723,7 +1723,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION > typename _ExtractKey, typename _Equal, > typename _Hash, typename _RangeHash, typename _Unused, > typename _RehashPolicy, typename _Traits> > - auto > + auto inline > _Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, > _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>:: > find(const key_type& __k) > @@ -1746,7 +1746,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION > typename _ExtractKey, typename _Equal, > typename _Hash, typename _RangeHash, typename _Unused, > typename _RehashPolicy, typename _Traits> > - auto > + auto inline > _Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, > _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>:: > find(const key_type& __k) const > > > > > --
> -----Original Message----- > From: Jonathan Wakely <jwakely@redhat.com> > Sent: Friday, January 10, 2025 2:36 PM > To: Tamar Christina <Tamar.Christina@arm.com> > Cc: gcc-patches@gcc.gnu.org; nd <nd@arm.com>; libstdc++@gcc.gnu.org > Subject: Re: [PATCH][libstdc++]: backport inline keyword on std::find > > On Fri, 10 Jan 2025 at 14:32, Tamar Christina <tamar.christina@arm.com> wrote: > > > > Hi All, > > > > This is a backport version of the same patch as > > https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671618.html > > > > for the release branches. I'd like to backport this to GCC 14,13 and 12 where > > the first regression showed up. I am however aware that GCC 12 is going to > > get it's last release soon and as such a backport to 12 may not be desirable > > for a non correctness fix. > > > > If that is the case I would be happy with just 13 and 14. > > > > I've benchmarked the patch on the branches and see the regressions go away to > > what they were in GCC 11. > > > > Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. > > > > Ok for GCC-14 and GCC-13? > > Yes for both. > > I'm tempted to say it's OK for 12 as well. Maybe leave it a few weeks > in case we get reports of negative consequences for the 13 and 14 > backport? > Sure, that works for me! Thanks!, Tamar > > > > Thanks, > > Tamar > > > > libstdc++-v3/ChangeLog: > > > > * include/bits/hashtable.h (find): Add inline keyword. > > > > --- > > diff --git a/libstdc++-v3/include/bits/hashtable.h b/libstdc++- > v3/include/bits/hashtable.h > > index > 834288c747c28e8625d9d8db387e6abe719b6c87..f5f421d2fd3218d827d673cf > 7dd1ec9cd9495982 100644 > > --- a/libstdc++-v3/include/bits/hashtable.h > > +++ b/libstdc++-v3/include/bits/hashtable.h > > @@ -1723,7 +1723,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION > > typename _ExtractKey, typename _Equal, > > typename _Hash, typename _RangeHash, typename _Unused, > > typename _RehashPolicy, typename _Traits> > > - auto > > + auto inline > > _Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, > > _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>:: > > find(const key_type& __k) > > @@ -1746,7 +1746,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION > > typename _ExtractKey, typename _Equal, > > typename _Hash, typename _RangeHash, typename _Unused, > > typename _RehashPolicy, typename _Traits> > > - auto > > + auto inline > > _Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, > > _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>:: > > find(const key_type& __k) const > > > > > > > > > > --
diff --git a/libstdc++-v3/include/bits/hashtable.h b/libstdc++-v3/include/bits/hashtable.h index 834288c747c28e8625d9d8db387e6abe719b6c87..f5f421d2fd3218d827d673cf7dd1ec9cd9495982 100644 --- a/libstdc++-v3/include/bits/hashtable.h +++ b/libstdc++-v3/include/bits/hashtable.h @@ -1723,7 +1723,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION typename _ExtractKey, typename _Equal, typename _Hash, typename _RangeHash, typename _Unused, typename _RehashPolicy, typename _Traits> - auto + auto inline _Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>:: find(const key_type& __k) @@ -1746,7 +1746,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION typename _ExtractKey, typename _Equal, typename _Hash, typename _RangeHash, typename _Unused, typename _RehashPolicy, typename _Traits> - auto + auto inline _Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>:: find(const key_type& __k) const