From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id CED80385734C for ; Fri, 10 Jun 2022 21:09:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CED80385734C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.91,291,1647331200"; d="scan'208";a="77103890" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 10 Jun 2022 13:09:48 -0800 IronPort-SDR: aMtJnmZ5R4SEoEUCbT+ZTroxbUjAJh+T3k4O3LA279NNRU4zmz7tBps/iSo3WeAxUmRKpWAry/ gF50+p9Q/tTwCluPAxNjBttnPQHG2Jd8muPdwgEbGuxyYspz9XmXHD37mR7u8VflbgGjfEt7jI Y1J+Xmfvp5PWo5ZeBfrljqVBHJ+XFTvPUaOdogdQtxADQ4QffX4F0xmbRzMwY5lC5T+Aaeq+rT VhisNkrRO0BUKTtv2yUTyL1zWZ4/Z8Au5twZGRyJCu7SfQuTdZuDvYqE+Jcu1LWqGhJhcnyMg+ Xvk= Date: Fri, 10 Jun 2022 21:09:43 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Alejandro Colomar CC: Subject: Re: [C2x] Disallow function attributes after function identifier In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-08.mgc.mentorg.com (139.181.222.8) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3112.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2022 21:09:54 -0000 On Fri, 10 Jun 2022, Alejandro Colomar via Gcc wrote: > I'd like to suggest a change in C2x regarding attributes. The attribute syntax is supposed to accept attributes in exactly the places they are accepted in C++ (and appertaining to the same entity, for each such place), for constructs present in both C and C++; it wouldn't be appropriate to diverge. > P.S.: The latest draft that I know of is N2731. I guess there are newer ones. > Could you please name the latest one? It's N2912 (June 8 version - the version originally published on June 7 had various problems; there are still some issues, especially in Annex H, that have been fixed since the June 8 version, but fewer than in the June 7 version). As far as I know, N2912 incorporates all changes accepted so far for C23; the deadline for final versions of ongoing proposals to be considered at the July meeting is 17 June (and the July meeting is the deadline for new features to get in before the CD ballot). -- Joseph S. Myers joseph@codesourcery.com