From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 35422384233B for ; Tue, 6 Dec 2022 16:54:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 35422384233B 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.96,222,1665475200"; d="scan'208";a="91865222" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 06 Dec 2022 08:54:25 -0800 IronPort-SDR: 2shdHpTI1r6rFGtrw3H0U+GxnIz9PtlJ5JXcnBo4n96qakSAnCdUtJbY3MSkzXJjoQ/p2Zd7wo XOGdX5ns5hgaoa//diLnbIXf6D+jmVqDBeLspjx57IpMmgQCla9f5ZMGfgmi4noQ3rmpdrJOvQ 1UJlf5NIM0uodYVZwu8rPUXvup8GF31SDeCOviD6CpWM0vBUs8frRMF0b1xj7wnmMnRMeeft83 lDL2z29nKqOvaXVFwa8Hn5ge9Nn97iD6SDUeetYLtjbUVPa+CHURPPLO08Mq+61NBxjqdYv7jz DEU= Date: Tue, 6 Dec 2022 16:54:20 +0000 From: Joseph Myers To: Gavin Ray CC: Subject: Re: Using [[may_alias]] in C23/C++23 on a union works in neither post-"union" position, or at the end of the definition In-Reply-To: Message-ID: <52ab45bc-cd6e-7acb-dc6f-9cddef4a926a@codesourcery.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-14.mgc.mentorg.com (139.181.222.14) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3109.7 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no 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, 5 Dec 2022, Gavin Ray via Gcc wrote: > union [[may_alias]] broken2 {}; With [[]] syntax it's [[gnu::may_alias]], since it's not a standard attribute. -- Joseph S. Myers joseph@codesourcery.com