Message ID | Zg56U+SNee6eoQJS@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 9AD393858C56 for <patchwork@sourceware.org>; Thu, 4 Apr 2024 10:02:25 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2087.outbound.protection.outlook.com [40.107.22.87]) by sourceware.org (Postfix) with ESMTPS id 45A553858C98 for <gcc-patches@gcc.gnu.org>; Thu, 4 Apr 2024 10:01:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 45A553858C98 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 45A553858C98 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.22.87 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1712224916; cv=pass; b=aWFTrtd3Z/8B1narpO4mPCpye/sDI8/1UzvzSvg9vQ1U6mk/lmLY0Hje/4l0LVCQ/lYLicLTEv2w1B9P/ls7L4l4JQOKGFnQvfloEeoQqpnYnbzXRQ9c90l7eudw8E4DaawRKcWpZC+mtObtTlSxVQaa9TQIpjMrSzq1PaGGcvU= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1712224916; c=relaxed/simple; bh=w0s4vI0Fo2bC/OeLdCkpgrstRTALIMs/5C1AHDapzCg=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=whBn3TK9xXUSa5PXc5muUdRXMsD5TVj6G6A0wjWNhscdpT19nrk3ItZHRQ8YLVyNMOSaN5pmVBBn5l1zDVmAuuWfQua9hxRCrRM8fXEa0IfE02u7DhG/wITP43j6zhCnTbxkJjUaL6OMtpedIVBcEFzHBsekc1yzy1CLAZFTViA= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=Qfxc5v0UTsizohKWLnJu6ZAEVwRGrGaee7BftiDI/GwagUldfZgff2oCyZtlpDuttabvBYYT5EvCOv48r0ijhIUJtgLG87iCFsNOBPmHN7blOQX2aw3YLGmdX9xMr2J49d77y1phD9GWXUkd4TvmjPvv1GBidTwvnF3vrK6EwXf4uppQOYusD87OcWua5Nc+ODWDCrKa2YyS+SbnWO8U/7V3GlWNsrOZKdzbIY+o9M8IJidJ42eIpAFVasqhyTQyT2iiEREgpN4X9uj18gl9RdNsSFtuLznOZhXA9r0cCXmpjjrKOK9fkD6fIsho6SfaSr6EvcjsRzuI4ISltkriZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=e51PJxebNhHTghh5ynahJOjpsdIhl6NLB1PM+jhLdIg=; b=JrsBru6kurZ0d+IlM95z48f00GeA3pH5wfbEbrDtMEj1thywN7kf93aFCsXbvQDOTXdUCa0K/DsdVzsekjZ90vLk7SswwgMje79BXjSM4LFdmyT/D5F5bWW6akR+xCzCoEW30nq07w5b+MN46n2X6vQSXAvW8BiEI+eai3052L+VqQI/2VpmkZaN+OaKBoEnV52bg1H7SXoB/ppsf+GAK84j7fhHZHiALUcaZasPhGLIToYNeK6HtSarv8XnOJ0yj+hfIHDjt9UBJeuZjW8F107T3bTh2RwGmfXys0jnlGehaNDlLijoWtrAvmcLqG6cYVqv3Q43faRHe2H9vivfjA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e51PJxebNhHTghh5ynahJOjpsdIhl6NLB1PM+jhLdIg=; b=URxc5SZCvLcK3TJFoidIcnSegF6QCC3rOkpQx45xbHMm05MyjnoZAt+BHZWoWyO8qmZLCjJUMlupGPrVGE/n1buRhb0d9A7MuxMlbntMLOzPAtTbVhyTIjBhSK3OFpRgjFvDWwAM8jNdVLYbo8cjI9STVFYRL3N8lUHMS5Dtzvs= Received: from DB7PR05CA0069.eurprd05.prod.outlook.com (2603:10a6:10:2e::46) by AS8PR08MB10269.eurprd08.prod.outlook.com (2603:10a6:20b:63c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Thu, 4 Apr 2024 10:01:51 +0000 Received: from DU2PEPF00028D0D.eurprd03.prod.outlook.com (2603:10a6:10:2e:cafe::8c) by DB7PR05CA0069.outlook.office365.com (2603:10a6:10:2e::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46 via Frontend Transport; Thu, 4 Apr 2024 10:01:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DU2PEPF00028D0D.mail.protection.outlook.com (10.167.242.21) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Thu, 4 Apr 2024 10:01:50 +0000 Received: ("Tessian outbound 5ad6c4395be7:v300"); Thu, 04 Apr 2024 10:01:50 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 17a89d8f1e7543c0 X-CR-MTA-TID: 64aa7808 Received: from 610789a75055.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 752EA0D4-9C40-48D6-AF31-99CEDD427164.1; Thu, 04 Apr 2024 10:00:57 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 610789a75055.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 04 Apr 2024 10:00:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OPDMCuHSlEwXRLzzrXiLG45mx46Os/DYSqd5ntRQzeXbwqoK1n2Rl/5XHCl6Iao9GFWbj0dIESOL/tbWMW6AnWZZWWQQgdYmTwZqBSWOCkk15WByn0gi/NUDvMXF7Nag2e7dygnK1ROVf+4lUvV4oaSjRk/20EShyToRkh7lpysFHrzqiOP/ikYcdFWzxiX3yrzxgbOUbDIhWP5sQ84yS9pqsUz7OGqgzlG3xKGoD0YaPk7FBFUT2s6bdGZbBqKbpg4uKpEDzQkFUUYdr9+L/YKJP5oN7DafnREmEBRwgfe6qJCkUMCCmiB4r6IgIW3K0V9KOEHzg6+fN4cvRdPg6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=e51PJxebNhHTghh5ynahJOjpsdIhl6NLB1PM+jhLdIg=; b=cF+KGSRwzjRgS2y4kmG/AIP8WGBj0J+wqJeOU10DGSGVJdXEy8crfasbvTn5UwizraE3ylfU1ZvXnbqEhlQ+p+7Wdm3C+g5tBoxejIFj3sYolMQMnuy+FUf6eg3BGZ0kBJ8tsAVqO7HH0tmgi5I30UQvI6K4QraQUGYFsT2IfnERvspK5MaKO+0z01HD7IqxK1hIVRcmvYQfSySPSJs8703HnOtmtW7Bm1QjgnmkbHp7ZMmLLfeVHCXhsBU6W1x/he/WvME4ALJPslTn+T8LPZEVjHGNhAY/6vtesF3wIrqgog3RbPcOn8sL28DoTHvtscxvwmXvi2cDglYOLZVjlA== 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=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e51PJxebNhHTghh5ynahJOjpsdIhl6NLB1PM+jhLdIg=; b=URxc5SZCvLcK3TJFoidIcnSegF6QCC3rOkpQx45xbHMm05MyjnoZAt+BHZWoWyO8qmZLCjJUMlupGPrVGE/n1buRhb0d9A7MuxMlbntMLOzPAtTbVhyTIjBhSK3OFpRgjFvDWwAM8jNdVLYbo8cjI9STVFYRL3N8lUHMS5Dtzvs= Received: from PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) by DB9PR08MB7496.eurprd08.prod.outlook.com (2603:10a6:10:36b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Thu, 4 Apr 2024 10:00:54 +0000 Received: from PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::9561:db03:3f6c:5634]) by PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::9561:db03:3f6c:5634%5]) with mapi id 15.20.7409.042; Thu, 4 Apr 2024 10:00:54 +0000 Date: Thu, 4 Apr 2024 11:00:51 +0100 From: Alex Coplan <alex.coplan@arm.com> To: gcc-patches@gcc.gnu.org Cc: Jason Merrill <jason@redhat.com>, Marek Polacek <polacek@redhat.com>, Joseph Myers <josmyers@redhat.com>, Iain Sandoe <iain@sandoe.co.uk> Subject: [PATCH] wwwdocs: Add note to changes.html for __has_{feature,extension} Message-ID: <Zg56U+SNee6eoQJS@arm.com> Content-Type: multipart/mixed; boundary="b+QbFuJ3mbmjnm/m" Content-Disposition: inline X-ClientProxiedBy: LO4P302CA0004.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:2c2::9) To PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: PAWPR08MB8958:EE_|DB9PR08MB7496:EE_|DU2PEPF00028D0D:EE_|AS8PR08MB10269:EE_ x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: IRfQTHTMSXgtoeWG7opURCCz8AY8CiuKNi2pUhYKVDZWwqTmwCioYwr0nepMgxUsOCInKvziFm96KME7dAXdVkvHlS6ACqCbqcylbGB7tNkM+/xSTQLZ5w8Xr4P9ixEHEEbB20IEB0uzsKUY4awV4m0IMRiJ5HN2/CeyaBqckoSiA9FbyNfYBW1xAErlYcnctLodsTYNmKXIeVzMLwI3FuCm4hBBioYpdfTq4lkXjvlgenGnpsB712mkDx6XlNQQThzgK3ewVWrphS07TFFsXxxAOmlkLEToLMy1PuRv6p6ELWo1CQXF/57b5/TxRh2ScQ/fBjAu3pzn8NFd8lJAVnMFN+C2vJhqKWeQ6/gT/N0nxxMd650jEBYsHQHWNMHukKuepi/wTTol4gSOJ/OLe4HJehx5MSuQfdrXoqnptjJf35faAECAvLLEyzt5CMcnHQD87g4Zl3U5PakngTHqpb1p+F4p7rCL7ZHuGfLfUA2zjgC1WCjyFPbnx8UxuynwxVFZuAKrhdGLbTkTncXEv8om5lAnXOMLgdwId4gNYUQUWnFbcT/IfV61o+L+5oRFGZv2X6wd3jqy2MpKX3TD2hgoHEKD/nxZIzulT6h9a30= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAWPR08MB8958.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015)(366007); DIR:OUT; SFP:1102; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB7496 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU2PEPF00028D0D.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9598a668-3843-4689-ab59-08dc548e3f92 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fz242D527jlZzdFq0tCt3P4vZs/A4ApfPaH8MWzpfSKIulGKz6bV6iX2icd+VR9dTzEDZCxQiJBY989+sMih9WIZ1VTeKmdzuDnpJDsKfL8jxEZVPF9LWLjCSC03y4M6nK+H7nWdNwb715t6YY+Cdca2RmYrtG717CDvBa5fWnMNG1eSgw26V2YajmsYwe7SYbHpl1+5cqZk4frBESnMLi1lZzpybrDNWp59EGXN9E2GnfP+E00IcYT8Xt9RKEuxmVBebZtXxw4pfevsPjhct/NHEZ+ougGLSpC0hzj+9bnL2FHXX57k7V8m2n9juonRk5pXZDL0isFu99iOmfrX/rViWrs+LJ7zdFKFTZUXoI3cKJmj9/JntYZXBlk1Y3/MMT2KtpvtozLTao/O79gage1LOPEGWNoOsmGlH3xhzCCXcyAvj7jxngd0atER5yoNWwVvcWBdcaTj7BFH+2ihCjOUmLhrw0wW7foOs8JDTg6qRBEZyP8DZ7+H3XjOXXHGmkWW2HEZRphT77UXAyQ+ov5SXu9a4U0gu2t2RIo+9gktqx2ppBQNKVR+OM+O8q3AbO/tTHyyZ+bQce0ns9gZm5cUFZsXLqBJ60Y5fSdJnCoJRRcEuijsT/K6XYR0MTS6t/VDZRWVqdyeIwHteiPZqGLJjc9HD/ehwE4pNFAqP/ecLqJk+fKsrpvErkhq4kidI2mfSrMqgdayVw7+3Lkt0A== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230031)(82310400014)(376005)(36860700004)(1800799015); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2024 10:01:50.8107 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9598a668-3843-4689-ab59-08dc548e3f92 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DU2PEPF00028D0D.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB10269 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY 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 |
wwwdocs: Add note to changes.html for __has_{feature,extension}
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_gcc_build--master-arm | fail | Patch failed to apply |
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 | fail | Patch failed to apply |
Commit Message
Alex Coplan
April 4, 2024, 10 a.m. UTC
Hi, This adds a note to the GCC 14 release notes mentioning support for __has_{feature,extension} (PR60512). OK to commit? Thanks, Alex
Comments
On 04/04/2024 11:00, Alex Coplan wrote: > Hi, > > This adds a note to the GCC 14 release notes mentioning support for > __has_{feature,extension} (PR60512). > > OK to commit? Ping. Is this changes.html patch OK? I guess it needs a review from C++ maintainers since it adds to the C++ section. > > Thanks, > Alex > diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html > index 9fd224c1..facead8d 100644 > --- a/htdocs/gcc-14/changes.html > +++ b/htdocs/gcc-14/changes.html > @@ -242,6 +242,12 @@ a work-in-progress.</p> > <code>constinit</code> and optimized dynamic initialization</li> > </ul> > </li> > + <li>The Clang language extensions <code>__has_feature</code> and > + <code>__has_extension</code> have been implemented in GCC. These > + are available from C, C++, and Objective-C(++). > + This is primarily intended to aid the portability of code written > + against Clang. > + </li> > </ul> > > <h4 id="libstdcxx">Runtime Library (libstdc++)</h4>
On Mon, Apr 15, 2024 at 6:14 AM Alex Coplan <alex.coplan@arm.com> wrote: > > On 04/04/2024 11:00, Alex Coplan wrote: > > Hi, > > > > This adds a note to the GCC 14 release notes mentioning support for > > __has_{feature,extension} (PR60512). > > > > OK to commit? > > Ping. Is this changes.html patch OK? I guess it needs a review from C++ > maintainers since it adds to the C++ section. > I think it's ok, but then again I can't approve; maybe try the docs maintainers (i.e. Gerald and/or Sandra) if you don't hear back from the C++ ones? > > > > Thanks, > > Alex > > > diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html > > index 9fd224c1..facead8d 100644 > > --- a/htdocs/gcc-14/changes.html > > +++ b/htdocs/gcc-14/changes.html > > @@ -242,6 +242,12 @@ a work-in-progress.</p> > > <code>constinit</code> and optimized dynamic initialization</li> > > </ul> > > </li> > > + <li>The Clang language extensions <code>__has_feature</code> and > > + <code>__has_extension</code> have been implemented in GCC. These > > + are available from C, C++, and Objective-C(++). > > + This is primarily intended to aid the portability of code written > > + against Clang. > > + </li> > > </ul> > > > > <h4 id="libstdcxx">Runtime Library (libstdc++)</h4> >
On Mon, Apr 15, 2024 at 11:13:27AM +0100, Alex Coplan wrote: > On 04/04/2024 11:00, Alex Coplan wrote: > > Hi, > > > > This adds a note to the GCC 14 release notes mentioning support for > > __has_{feature,extension} (PR60512). > > > > OK to commit? > > Ping. Is this changes.html patch OK? I guess it needs a review from C++ > maintainers since it adds to the C++ section. > > > > > Thanks, > > Alex > > > diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html > > index 9fd224c1..facead8d 100644 > > --- a/htdocs/gcc-14/changes.html > > +++ b/htdocs/gcc-14/changes.html > > @@ -242,6 +242,12 @@ a work-in-progress.</p> > > <code>constinit</code> and optimized dynamic initialization</li> > > </ul> > > </li> > > + <li>The Clang language extensions <code>__has_feature</code> and > > + <code>__has_extension</code> have been implemented in GCC. These > > + are available from C, C++, and Objective-C(++). Since the extension is for the whole c-family, not just C++, I think it belongs to a "C family" section. See e.g. <https://gcc.gnu.org/gcc-13/changes.html>. Marek
On 17/04/2024 11:41, Marek Polacek wrote: > On Mon, Apr 15, 2024 at 11:13:27AM +0100, Alex Coplan wrote: > > On 04/04/2024 11:00, Alex Coplan wrote: > > > Hi, > > > > > > This adds a note to the GCC 14 release notes mentioning support for > > > __has_{feature,extension} (PR60512). > > > > > > OK to commit? > > > > Ping. Is this changes.html patch OK? I guess it needs a review from C++ > > maintainers since it adds to the C++ section. > > > > > > > > Thanks, > > > Alex > > > > > diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html > > > index 9fd224c1..facead8d 100644 > > > --- a/htdocs/gcc-14/changes.html > > > +++ b/htdocs/gcc-14/changes.html > > > @@ -242,6 +242,12 @@ a work-in-progress.</p> > > > <code>constinit</code> and optimized dynamic initialization</li> > > > </ul> > > > </li> > > > + <li>The Clang language extensions <code>__has_feature</code> and > > > + <code>__has_extension</code> have been implemented in GCC. These > > > + are available from C, C++, and Objective-C(++). > > Since the extension is for the whole c-family, not just C++, I think it > belongs to a "C family" section. See e.g. <https://gcc.gnu.org/gcc-13/changes.html>. Thanks, I agree that makes more sense. How about this version instead then: diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index fce0fb44..42353955 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -303,7 +303,15 @@ a work-in-progress.</p> <li>Further clean up and improvements to the GNAT code.</li> </ul> -<!-- <h3 id="c-family">C family</h3> --> +<h3 id="c-family">C family</h3> +<ul> + <li>The Clang language extensions <code>__has_feature</code> and + <code>__has_extension</code> have been implemented in GCC. These + are available from C, C++, and Objective-C(++). + This is primarily intended to aid the portability of code written + against Clang. + </li> +</ul> <h4 id="c">C</h3> Alex > > Marek >
On Fri, Apr 26, 2024 at 11:12:54AM +0100, Alex Coplan wrote: > On 17/04/2024 11:41, Marek Polacek wrote: > > On Mon, Apr 15, 2024 at 11:13:27AM +0100, Alex Coplan wrote: > > > On 04/04/2024 11:00, Alex Coplan wrote: > > > > Hi, > > > > > > > > This adds a note to the GCC 14 release notes mentioning support for > > > > __has_{feature,extension} (PR60512). > > > > > > > > OK to commit? > > > > > > Ping. Is this changes.html patch OK? I guess it needs a review from C++ > > > maintainers since it adds to the C++ section. > > > > > > > > > > > Thanks, > > > > Alex > > > > > > > diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html > > > > index 9fd224c1..facead8d 100644 > > > > --- a/htdocs/gcc-14/changes.html > > > > +++ b/htdocs/gcc-14/changes.html > > > > @@ -242,6 +242,12 @@ a work-in-progress.</p> > > > > <code>constinit</code> and optimized dynamic initialization</li> > > > > </ul> > > > > </li> > > > > + <li>The Clang language extensions <code>__has_feature</code> and > > > > + <code>__has_extension</code> have been implemented in GCC. These > > > > + are available from C, C++, and Objective-C(++). > > > > Since the extension is for the whole c-family, not just C++, I think it > > belongs to a "C family" section. See e.g. <https://gcc.gnu.org/gcc-13/changes.html>. > > Thanks, I agree that makes more sense. How about this version instead then: Thanks, I think you can go ahead with this. > diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html > index fce0fb44..42353955 100644 > --- a/htdocs/gcc-14/changes.html > +++ b/htdocs/gcc-14/changes.html > @@ -303,7 +303,15 @@ a work-in-progress.</p> > <li>Further clean up and improvements to the GNAT code.</li> > </ul> > > -<!-- <h3 id="c-family">C family</h3> --> > +<h3 id="c-family">C family</h3> > +<ul> > + <li>The Clang language extensions <code>__has_feature</code> and > + <code>__has_extension</code> have been implemented in GCC. These > + are available from C, C++, and Objective-C(++). > + This is primarily intended to aid the portability of code written > + against Clang. > + </li> > +</ul> > > <h4 id="c">C</h3> Marek
On 26/04/2024 09:14, Marek Polacek wrote: > On Fri, Apr 26, 2024 at 11:12:54AM +0100, Alex Coplan wrote: > > On 17/04/2024 11:41, Marek Polacek wrote: > > > On Mon, Apr 15, 2024 at 11:13:27AM +0100, Alex Coplan wrote: > > > > On 04/04/2024 11:00, Alex Coplan wrote: > > > > > Hi, > > > > > > > > > > This adds a note to the GCC 14 release notes mentioning support for > > > > > __has_{feature,extension} (PR60512). > > > > > > > > > > OK to commit? > > > > > > > > Ping. Is this changes.html patch OK? I guess it needs a review from C++ > > > > maintainers since it adds to the C++ section. > > > > > > > > > > > > > > Thanks, > > > > > Alex > > > > > > > > > diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html > > > > > index 9fd224c1..facead8d 100644 > > > > > --- a/htdocs/gcc-14/changes.html > > > > > +++ b/htdocs/gcc-14/changes.html > > > > > @@ -242,6 +242,12 @@ a work-in-progress.</p> > > > > > <code>constinit</code> and optimized dynamic initialization</li> > > > > > </ul> > > > > > </li> > > > > > + <li>The Clang language extensions <code>__has_feature</code> and > > > > > + <code>__has_extension</code> have been implemented in GCC. These > > > > > + are available from C, C++, and Objective-C(++). > > > > > > Since the extension is for the whole c-family, not just C++, I think it > > > belongs to a "C family" section. See e.g. <https://gcc.gnu.org/gcc-13/changes.html>. > > > > Thanks, I agree that makes more sense. How about this version instead then: > > Thanks, I think you can go ahead with this. Great, I've pushed that to wwwdocs. > > > diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html > > index fce0fb44..42353955 100644 > > --- a/htdocs/gcc-14/changes.html > > +++ b/htdocs/gcc-14/changes.html > > @@ -303,7 +303,15 @@ a work-in-progress.</p> > > <li>Further clean up and improvements to the GNAT code.</li> > > </ul> > > > > -<!-- <h3 id="c-family">C family</h3> --> > > +<h3 id="c-family">C family</h3> > > +<ul> > > + <li>The Clang language extensions <code>__has_feature</code> and > > + <code>__has_extension</code> have been implemented in GCC. These > > + are available from C, C++, and Objective-C(++). > > + This is primarily intended to aid the portability of code written > > + against Clang. > > + </li> > > +</ul> > > > > <h4 id="c">C</h3> > > Marek >
On Fri, 26 Apr 2024, Marek Polacek wrote:
> Thanks, I think you can go ahead with this.
Agreed, thanks.
Alex, if you agree, how about simplifying
+ This is primarily intended to aid the portability of code written
+ against Clang.
to
+ This is aids the portability of code written against Clang.
or similar? (Feel free to simply push such a change.)
Gerald
diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index 9fd224c1..facead8d 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -242,6 +242,12 @@ a work-in-progress.</p> <code>constinit</code> and optimized dynamic initialization</li> </ul> </li> + <li>The Clang language extensions <code>__has_feature</code> and + <code>__has_extension</code> have been implemented in GCC. These + are available from C, C++, and Objective-C(++). + This is primarily intended to aid the portability of code written + against Clang. + </li> </ul> <h4 id="libstdcxx">Runtime Library (libstdc++)</h4>