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 108863838021 for ; Mon, 26 Apr 2021 17:19:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 108863838021 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: Jdh5zoktw0L4gJVzbGwEQM0Jjq/vwO/vIloQib8N8gv4EAvZ6GxrG20UaqMyuZkhC/o2niwZNp FZa75c3rJGeOJbYWjsy1kUMgFyQoXQ/o82FxvOqk+PMLZ8aey/TmMht//x2LXnbtPa6oMdxE5l F/cw7HQSBVuGGRBBI9zGc5tQy5sEMlrUuDPxz0xpc0W+Mp+5afeEECdAaaJVtDvC3yITaep3NF Pq5GyBwF09lodoHluTvfsFl/RbGeWZKVnBdkzbNpRDagdBYfgOmeZnDKbHgvTNVeURhjLNGL1g 6MM= X-IronPort-AV: E=Sophos;i="5.82,252,1613462400"; d="scan'208";a="62909387" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 26 Apr 2021 09:19:13 -0800 IronPort-SDR: hVNETrJmdsECZoHvqs0DjVbjjB4D+FVH8Iv6VkjYfdaIaO8I/fMfTeTxmZEaYWZK0+0oZOslIy rkFFwcx5JLTZjNDafr0h5Xm3ROGNwoPTkQWvFFSOnsmAxgTzeUq8I7qGK6va6YNLzIEIzpPEuD NHU/lnukVsVThxiM3eWNlBTFE5KOo2TrqOiDyrgklcDyyTty4gAbsGd0jnHUYhllbOOAayZuGx 181tpRt3FgW8A46M5RsNr3LEMnyOgk1XGLT1oaxWdpjoJsROj7yUWR9rSaCN5q2FxnSw3eecrf OOU= Date: Mon, 26 Apr 2021 17:19:07 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Alejandro Colomar CC: , , , , Subject: Re: [RFC] bpf.2: Use standard types and attributes In-Reply-To: <20210423230609.13519-1-alx.manpages@gmail.com> Message-ID: References: <20210423230609.13519-1-alx.manpages@gmail.com> 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-02.mgc.mentorg.com (139.181.222.2) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3121.8 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.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2021 17:19:15 -0000 On Sat, 24 Apr 2021, Alejandro Colomar via Libc-alpha wrote: > Some pages also document attributes, using GNU syntax > '__attribute__((xxx))'. Update those to use the shorter and more > portable C2x syntax, which hasn't been standardized yet, but is > already implemented in GCC, and available through either --std=c2x > or any of the --std=gnu... options. If you mention alignment in the manpage at all, the same reasoning would say you should use _Alignas(8) not [[gnu::aligned(8)]], in any context where _Alignas is valid. -- Joseph S. Myers joseph@codesourcery.com