From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id 7046C385840D for ; Tue, 23 Apr 2024 19:22:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7046C385840D Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7046C385840D Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1713900123; cv=pass; b=wJyNvOwKBk3TqzY0cAKE4JLqzXsOC3L6Sh7SHtiG9tFzeec3jLHc2GA0f9yLCiRXkfb/kW2DPlA1m/+FmvGd8fIY4kgtrIqvPv/LWubkqvgtuWxaMyPam3GdrJPrMbkp1KvoYlVu0VlyZnYRmZiDm538uo6QpUQBX2S2bBp1Bko= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1713900123; c=relaxed/simple; bh=t8jU2mOnl2EqBnIw0xTdjT8pGaD0nWAj6ZmKY3HRJFE=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=tr+C/ipPcfE6Fn66ztYNDIBg7HTjkkrexVQ74H8sUrG0iqhEdQkxlP79PCeYs7aj5/QV3Yu/2BPa1JdsjPCLQcxXvRITskn9uO+o7MIP2cKFRXsygZqdsAkgS71iCN5PLswa4RzDzO1gKqwRhcP5TvrybdBayKj/l/PcEt8AVy0= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43NFU80C013748; Tue, 23 Apr 2024 19:21:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=corp-2023-11-20; bh=WzLEa4DN5hOomaa1hPp0o+oSwhIX6DBacRttJV7uhj4=; b=Gej8PFcal0AY1Ehzcj2m45Deg2PuPj+xqQVxf8gxMOXLzTkdJNfsE3cy+WKkrAMMvh/N eGrxO/zPKYBXxjRjHJvl/INmYJze/4lcxyLc2Qcb8n8Ev5OPBE9zeEMl0Wa9/E1CM+Ch 5Lr65GyAQSbgwQ9L6rf3ARdMUa1G1hnY5gSWWlvk83diflHbv4iKt7IJ1nFTQsSWZiso z89xFMTyXIpXQAQhvrNXeXPxU7MXHSO7Y+WetY687x1CPO9AGGrDG1YBGVoDtgI57BjG uHKTSYO8QmqydDEh879Up0IyVsk6bSOXLVPDBn04A+lN5bnRIGeZdAC5hxLDklcH0TXK gg== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3xm4a2ew16-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Apr 2024 19:21:58 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 43NHkwa9035570; Tue, 23 Apr 2024 19:21:57 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3xm457rubg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Apr 2024 19:21:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=glAVzQ3/xIm5rZq/yLNn4qvPgtUo74Jfkue2n+gkZI5n8+un4mysLQ086lmwBpcPuyuz4Vb4w1NJEoKV7vbfDAGfrrwwIC/ksQlN9WupeIhtHlCiSCPFrVWu8V6QyHjRHa5NxyQ18DBv8fc6/J47jMoSnzOP1s4CrHPelChjjicJdb0zUnwQ8W59N9kCZeGaE7wROQkNjNTZa5UnGRz4NQpi7JM6Pv11MKPtjS+ChfXcQMleqAtAMWP0PSu0k6dxcCI75mNNLXyoHSe6T7PdeoCawt+Ye77wdbioRQvoePXpJ2023Rm9Z6ypx4miF/Jv+K1vtNNao4Gy0fIVkSy34w== 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=WzLEa4DN5hOomaa1hPp0o+oSwhIX6DBacRttJV7uhj4=; b=NL9jD1oZMh8ipgvwRyFwQ2X8UnX874/8qldQx6TNQ/WMrdddG3ZGf97LE7DrSMid/rLOIy9HlqDRpJr5mO+twCAuA6TzqFi5cuOce/A9igeefahCR2EXQKa4e4w4eSxZNv2Q+upmhevdT346PPnSSwEtFHAgefrFU4ddPLaPQeROihtgV6wfhs0I3g9BuLF/9XUVsyBoWlT+T3vPthNI1jWp4p1C6NgOrmmvdjyu+Ui4an9VJvt5f6ZaTz5NNHbzV4SnM5KnDsLP9uq2ORWaWv6aOHABL0+3uiQUx3CR8ZtVQ19JxYLzOIpycDpQo36Z6moKmULdxbvTuxGvZQoIhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WzLEa4DN5hOomaa1hPp0o+oSwhIX6DBacRttJV7uhj4=; b=GwIFHZHXUxr1ckeQKwtk6rkIUGnClNXaopVTSiP+KL2rznU3zLUDbEh34YBVYmualXlqWJVkvtUb8cFNp2ugQd8w35BFiDhJPi73JiScL96yMQB52kupFEtpTN1YbE+gjTmaa0n0tPaw4KQn5v18rR2VtN+oMKMvswLjWK/Mrf4= Received: from CY8PR10MB6538.namprd10.prod.outlook.com (2603:10b6:930:5a::17) by SJ0PR10MB5785.namprd10.prod.outlook.com (2603:10b6:a03:3d1::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Tue, 23 Apr 2024 19:21:55 +0000 Received: from CY8PR10MB6538.namprd10.prod.outlook.com ([fe80::2dae:7852:9563:b4bc]) by CY8PR10MB6538.namprd10.prod.outlook.com ([fe80::2dae:7852:9563:b4bc%6]) with mapi id 15.20.7472.044; Tue, 23 Apr 2024 19:21:55 +0000 From: Qing Zhao To: Joseph Myers CC: Richard Biener , "uecker@tugraz.at" , Siddhesh Poyarekar , Kees Cook , "gcc-patches@gcc.gnu.org" Subject: Re: [RFC][PATCH v1 1/4] Documentation change Thread-Topic: [RFC][PATCH v1 1/4] Documentation change Thread-Index: AQHakol1eyRXdM+sMkWWEfoQc/SrrrF2LEMAgAAE24CAAAuMAIAABTiA Date: Tue, 23 Apr 2024 19:21:55 +0000 Message-ID: References: <20240419184317.2138890-1-qing.zhao@oracle.com> <20240419184317.2138890-2-qing.zhao@oracle.com> <74e0a96c-fa13-7fae-85e1-6e9efb28f4e@redhat.com> <56FC97AB-430E-4F39-ABBA-10D749F7AAD3@oracle.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3774.500.171.1.1) x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CY8PR10MB6538:EE_|SJ0PR10MB5785:EE_ x-ms-office365-filtering-correlation-id: b01d9c84-18f7-4a88-dac5-08dc63caa356 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: =?us-ascii?Q?FpZgVPUIb8EI8YymKO8IsOlrdeC4kSAF6yKqoBzPw3ChQ1PlI6MafnpaEGK7?= =?us-ascii?Q?2FhUgljA257hqAItDp4QGwBje+sILJ8ZMrdLhSoOpUk62oxb08bN6akKJYhF?= =?us-ascii?Q?IWWz+A0A3BIrSKWQPY7JrS6USspKE11HDEPIlzgztqibfpHNZw2/FmY0md9W?= =?us-ascii?Q?Xc85Gc7gyFGT0YPCWkA7esVAqfuQqtFbSOHrBTq8jrtIgdonfU5MVBLg/MdV?= =?us-ascii?Q?9MRJeqbYqYNDNDOa0NLOk9WLPuB8McnBMqH4PM8c4JVWTskecSxqzNbmjC0Z?= =?us-ascii?Q?F2LackYf1siiO+wBp13VXB/DCxWM2B6kROQ83u6PmbPCnszV4Y3C1DnlMKsA?= =?us-ascii?Q?hJ/wIAnaOqUbY74YPekcMmSxa8Evs5sTpRc1f2lgZ+vg94yucaGO+NdeEwt9?= =?us-ascii?Q?l4omy9nqd/dObBxBDtVsCtbu67meZTK2Jbz6uZuS+twSkG2nh4Zq1r/b/04c?= =?us-ascii?Q?rtUziqnPZ80CeVCpJO6BVRXCwUsIediHIl5Yb6Um5WikDkIG+7OCB5DfqAFd?= =?us-ascii?Q?Y6jdqnMpEMtjrhF9wBjrELhp4BC8rw+C7J4sZ3nJRCXROspj+t+tXpZHReID?= =?us-ascii?Q?8HClh/xb5/O+JEVmiarUB4MCs7JIkxQpG+Cubx9KLMVnWQB+IbTaC7Hz/h01?= =?us-ascii?Q?UGT8Vx986OsLcG42kAGaNAuIfIEDpr4H+FNxJi7pzpH/pcU8DojfZKOA9pI/?= =?us-ascii?Q?tk0KR/R0HNSiXxHZBZLfBOcplaf1kXO52EMPMtvY/2Y8UU6v4Gu1OAPQCUek?= =?us-ascii?Q?aR8jCDzuOvqt/HdxVXEffCLYjIMaH8DGs8JnZf4cOGWVi8h94Dn+Ezrwa9f+?= =?us-ascii?Q?Qy8g0lpMjKJ1uZBvDennbSpCsvePrhLeSd74mRTaq/Hacean3uCod/9uG+Hc?= =?us-ascii?Q?aSRrTdnn5Z7yHHUANphydLDE3HfWmj/qCLd/aWM+fEG/Pn0oyxIBFwUVKhAI?= =?us-ascii?Q?MJ+34ddp/Q6vW/9NTAjGawfpADInXiZHNWFClqk5ou+2/M7/p4nl/8OR5zp2?= =?us-ascii?Q?X5jVyeQ0EqWjKi7hMx9QRo0xn9kgNDLK/kuEed/RtERV8xoVLsEnwHAcr3lC?= =?us-ascii?Q?w6Acm0Jf9DC+/YVdIMb9AtMCAZQG/nzd6BsifRtvDeYJ6or1ATseh6C509ZQ?= =?us-ascii?Q?oPfk2/dtdAzCiIlNE8ZdTUr/lOSfK6DX4YF/S4H6Wsx6YGecP5bESJ9NlQ9K?= =?us-ascii?Q?uEoNrLoqDp/Ym58i+afBPwOBJpE89453Nh4nVSOvYINFtP2b36xat/jhec27?= =?us-ascii?Q?SMTvjC6GNYJwGSm9QdQbfur6+6YlXGtPTNFKaDjfbLgm+kbfsytFITXBJO1H?= =?us-ascii?Q?bcvz2RvwxuXepSkojOqs/ODNL1VJYGQbB7y75i6I8zhxug=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY8PR10MB6538.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?o3MAx0fQ57J9RJMRZo+qvQeXc+Gthqi55G5Cv/Y0bJYZUdoI6t4/SJroRHgE?= =?us-ascii?Q?Z6fRK2063b6Nfv7pu35Vr4vC/p6xdCCsNZ2kJhrfzTi/J9kwbo+wL+GO0nPb?= =?us-ascii?Q?kypPgBs+TeA9MqPoAKzBp6DYKBiK184RvAtcQN//lmMN6hfTz+ZBUu4EmrBP?= =?us-ascii?Q?mLUcAQkUjrLX5d+6Ic4uFx9DM8gowP75dktYlHOeNma5EGj4qGoEAcLaI2dj?= =?us-ascii?Q?VRH6T04lkdM40MV1ndUzwViqOBp1BJ/M8L1yVQyGachSPboDL9xXQe088awg?= =?us-ascii?Q?D1E4ONrHaHyYo3Dexqd7E7N+7gyh0d0g1Bszs7lfdaVYSWwttxbwOJbpCn44?= =?us-ascii?Q?4+vC8afuhc7tFniDLKDZH+d1w+x8QBdre+KKLcjUmXpBRDBZSxAWcmk94/K/?= =?us-ascii?Q?ixNdpa40pTVnAEX5npMmveAPgnK1hN+CV6CBCMZTM8NimG1oQ3OjPxMhgP3C?= =?us-ascii?Q?t0pzkQoZQ1o2SRK+N1mSu+hahGx7szU0p+ngyrALnSX15wrj+E5uHGLK3h0R?= =?us-ascii?Q?r9WyWhW1X25Xh0x5PsHbvcW5QWgPccJdoOi0qXu74XjEz8wUpH0SP4lMygB+?= =?us-ascii?Q?2j8XRCfKBeNvNywNkFcczp2drYEsD+H+65R1GYZIEl3XrtzgRMq8FoYD84t7?= =?us-ascii?Q?bOI9oh5rr1QS8kSji1du4msjJBhXj7LBMi3iU7NkQEap23ZKr+wM7yt386s7?= =?us-ascii?Q?3lGEjLYUBGREpZgVEPgRtQqBpwihGa+HiA56p7Dkh3E5lpIO7dApHz4BorD9?= =?us-ascii?Q?LOb7G1r9l6wyTMaDWFfk/aLL/asPbViFWxld446V8C3/ccBPdO4X9elRSfID?= =?us-ascii?Q?vkHWhaC0DQZun23jsAa5f9VRW0No3CpneeFKaMGF3i9y/piM3TfglE6O/Ylj?= =?us-ascii?Q?VlwUy6kOCRVKRJe+I61hn6ldsyLe926i/WUhgohec77ggD6TlbG+88eWoHbG?= =?us-ascii?Q?vl83evdSWB0sYw13bncYMnQbbqn+ul5uR+Mx+2CYf89bEBdPiuqihQY7OHeH?= =?us-ascii?Q?OxAgQm5DHsbxdTpmLR2FLpvhj9PqiM8ucYrePA/E/KY8/THnpMZJnJrgEOG0?= =?us-ascii?Q?pWiTCnhGXsw2EGZ3j/XSU/+eJojlKCIwXQGd73glxPJv6/+a/t3NM96noCZ/?= =?us-ascii?Q?jFBziCIWZbWWtPs9EMGIuq8BMSm+xrZQdQY6nnNf659KeQ+lHQyhxb/zWpLV?= =?us-ascii?Q?/+CanCeaWZFKnK+No/9RsBgC13C9hm3Mcznf+8B5qDktAqGJkZvQPyFBePVz?= =?us-ascii?Q?5iA9UVe+fIhjtdapowsJsF9vl4ku5WMwP37MprjMdGRMtVAvLp12XQMsD752?= =?us-ascii?Q?cae8uFkIeVjlawOXAjVUP5/RSWmGhM0+S+GQbkF0s6KWrq/ijKSgVRj9nXQx?= =?us-ascii?Q?+yC+pkk0y+tvlQb3uGu1MDWIwPIacnsKd8vrvD0HrRSiF+xbiVe0m6urHQJK?= =?us-ascii?Q?3iEn4noUXJ/bn69DygezkiCfXLayW/xqHFwghRsd0UgdvrpmWDYMpC6eewzK?= =?us-ascii?Q?xfQCrvz4CdGZpAcqfPQjnrOaDAFlWwzeKnKYexXQFIWYDrZIe9mb2KhgWre9?= =?us-ascii?Q?IZ1u0Ml9hPGVrSperCfZe6/t4uKIfM+ENglAEGTS?= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Ou5u3cdcO/h7PtwRvrzM8Z5m2gPqSg1vB8TSHCOHnIeWfgLYI34ysG4SLsD/9wlMw9vz3z/1pDooMwpVi/6r6Dk1yVzxEVBk0WCs5VcpVUs0gxd7ncmSpQ/cyW89imMODDfys6xP0P2rOXhIEiWkz4tnQQ98p7YA0qpPxJxq4tNBhSU8DnimCuxdheS06P6GlWyyePXtl12iHZB76lLkKSOsqtqJDSrwvXrG+3K3g/NqkG3gpqlIOo7Df0e8S+bZz107XcEHlbUrVHlNkQH/PzkHOSdL3YKsLJAT6MQVqXZ8jpieMMgThA1eH7uDrtRLmHIia+5jO/rnyyDuly03Keieh/lpqdzuwOzpgYT8REICeuC8O4Ob1y8QP8sSbbnkmrK5Wb+HWBi9Udnj9EDhoO8TBBQe6XNK4sqY/hL7AR1iPPF3fLRl1pQSytOzWq29hnXc/zMmR2LI9uR3pHwtCosaJeJYR0KiYk2xsGQ7rzWYPbeuRQPZ6BbbLUh07E4sybwZ6CF43hHizz/sydyUbJrqg8KBdzY1LA3JAFKF61HJubj0YbdeMJyY2u0K1mq4tTjuIeNdGvM3noCt2CAZyt2+ZoDZFXxI8c/2RvSJFWE= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY8PR10MB6538.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b01d9c84-18f7-4a88-dac5-08dc63caa356 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2024 19:21:55.4475 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ye4FKV/t+tAJRJi6yFHgWxdCVHFsPMX3XkDuImS65PlwHXb/dZAK0Nb57I5y8yZ1I90O22WbXTcnxsv7rxJENg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB5785 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-23_16,2024-04-23_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 suspectscore=0 adultscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404230045 X-Proofpoint-GUID: zywbdI4b2bptsegMswIIZolkQlwdiXYS X-Proofpoint-ORIG-GUID: zywbdI4b2bptsegMswIIZolkQlwdiXYS X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,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 List-Id: > On Apr 23, 2024, at 15:03, Joseph Myers wrote: >=20 > On Tue, 23 Apr 2024, Qing Zhao wrote: >=20 >> However, I am not very confident on the wording of the doc, is the=20 >> current wording good enough for this? Or do you have any suggestion on=20 >> how to make it better? >=20 > I'm not convinced the statement about size (in relation to a structure=20 > with the member omitted) is useful for unions the way it is for=20 > structures. The structure with the member omitted is a relevant concept= =20 > for thinking about a structure with a flexible array member (the flexible= =20 > array member essentially goes after that structure); it's much less=20 > relevant for thinking about a union with a flexible array member. Okay, then I will delete that statement about size. >=20 > (The statement that the size is zero when all members are flexible array= =20 > members still seems a useful one to make.) And only keep the size is zero when all members are flexible array members. Thanks. Qing >=20 > --=20 > Joseph S. Myers > josmyers@redhat.com >=20