From patchwork Fri Jul 21 19:02:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qing Zhao X-Patchwork-Id: 1811103 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=QkIa7DQU; dkim-atps=neutral Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R6zTp4lcgz20Fh for ; Sat, 22 Jul 2023 05:03:09 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7F132385C017 for ; Fri, 21 Jul 2023 19:03:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F132385C017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689966186; bh=E3ZiT8r5jdgGGdgFQq85HOmOaHvZX1DLY/Xsf0QKPag=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=QkIa7DQUvzbl8f07vwGJorX/tm3V4MSoyKpCiMj+EYumFiOA8SidWKjGtm06E93MS JpdLNumrpXBeMrYleSP3mNt19zKJBUae0ofBuCxoQwmZsI0bSmS2CfsaLIlOfrl3yy 6X7EFA2QFkhYKWF/VQ8Pi9J7FzxQp1ZiuWDPJric= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id 61FB2385E008 for ; Fri, 21 Jul 2023 19:02:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 61FB2385E008 Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36LEGEvM011999 for ; Fri, 21 Jul 2023 19:02:41 GMT Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3run784htx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 21 Jul 2023 19:02:40 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 36LI70e7038238 for ; Fri, 21 Jul 2023 19:02:40 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2040.outbound.protection.outlook.com [104.47.66.40]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ruhwabv0j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 21 Jul 2023 19:02:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IBSgKbGZh7qizW1D5Sqcf4nmQofLhATHDHrKp92dhPYRz7MTDt/GQLCgW8BmB6iljmYmMEjlMw3SWIa8+UYRidsZZ6JHh90u16H45jbPD6y+jzMpZ77RV7BLkOeGvy7bUZ3tUAiSlDQYfE1A6ifz0bLlKrNTL6MjFphQqWccDZsMndZwmybJTG+LRlkGWNiHsCyvJEo04G/E/ppCQEG06E7HOy/3B698YEh0TgmGF11zT5M60vezMtGbSTuV0TxIrRUIjqfLrcggkMQzcKmmMf4IEeISF1ebd3mY4BHvG9E+ljJKHUw66QSARoXvH8euRDDih5wrlTExXIwEeblPBw== 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=E3ZiT8r5jdgGGdgFQq85HOmOaHvZX1DLY/Xsf0QKPag=; b=K6hQdRxVSGfmJq+2yp8+X9BjHw8sew+Ywfv/ymS13KqBDlVvFdqSmCCA56sWhWzZD5Fjm3yUxaiF4VbcUDf4onKPxfJey0zxcIlQx4tJULuiHrgTxSwU4iicTqwfrZgQPYANWU/OAbMYHqUg2Pn+k7anfVxfx50fKf+h2QTDTW62bYQfuhuYUmH7S73Lv2G/y61zI0GZ8FiLAcEoe45kdmrlfUqt+FrGosn/Waq+QPpGgC55WQQu2VuyDPKlcI7CWxhWwjE0zc+qtx5KOPAOk0vkQSUnmg15WH2jHc9D9PA5EbHr/6gstbkIvJd/aQwxkEBc9iKi0xTCSe+NGvv+9g== 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 Received: from CH2PR10MB4344.namprd10.prod.outlook.com (2603:10b6:610:af::19) by MN2PR10MB4191.namprd10.prod.outlook.com (2603:10b6:208:1d1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.28; Fri, 21 Jul 2023 19:02:37 +0000 Received: from CH2PR10MB4344.namprd10.prod.outlook.com ([fe80::5afd:d02a:38ef:94ba]) by CH2PR10MB4344.namprd10.prod.outlook.com ([fe80::5afd:d02a:38ef:94ba%7]) with mapi id 15.20.6609.026; Fri, 21 Jul 2023 19:02:37 +0000 To: gcc-patches@gcc.gnu.org Cc: Qing Zhao Subject: [PATCH] gcc-13/changes.html: Add and fix URL to -fstrict-flex-array option. Date: Fri, 21 Jul 2023 19:02:34 +0000 Message-Id: <20230721190234.1018000-1-qing.zhao@oracle.com> X-Mailer: git-send-email 2.31.1 X-ClientProxiedBy: DS7PR03CA0087.namprd03.prod.outlook.com (2603:10b6:5:3bb::32) To CH2PR10MB4344.namprd10.prod.outlook.com (2603:10b6:610:af::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR10MB4344:EE_|MN2PR10MB4191:EE_ X-MS-Office365-Filtering-Correlation-Id: 241d520a-649b-4807-72bc-08db8a1d0cc4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HOgB1tdPMOgJlkzLv0vkXkAhMx8RhpkCWpLZWHfZcAk7PYCKC4F2RmA3FM2OosS4ScicOz3ruclRBcdVDcaw8vGhhL/Cbg49lnFKR9dnfbfPUsAxH1gMzK8knH4zRvSNXxplU0p8I+CCJpxoKZHarT5jhVBQ7AQ5eeHQaE1UiwnoKXBew+ak6wEW/96HYNPmxzPYoN/QEEphE94o4cX1tpGlQ+BR2TL2B2s8EAn4v8QbNYx6cpSNMtBs0Mb227cSGCVspd+0eAEbbzHI2JhgLEfX0CkfevytDAb8e/Ebkdq1zyyXn0K0Kdb4JZWSxPKEcUWsCKn8J4ZqgiHtV8Ax3Plk4tfG35bVHmHUFBzfV4Xc7986i8Un3j7JKvri49Ig7S7AMgSSoXY7ujxMCUt4B7xIdaFaWvWdjGPHHpQ1wDs3migc9gUfEFs9IND4xnX6AS5ospqHLZ235tw/ZDWL+b+kTCBgfYvyLUX20CGNitWr6NX0jaXlm6RksgFpJV7kB5+CAU2LFAf0BKzUcjkv/FMBgX3qrYX1S/rp2sEodkH4Yh1hf+m9M3ZNcLwo+Y59kO60mSEVHpBA6BUB+/3qRQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR10MB4344.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(136003)(366004)(39860400002)(396003)(376002)(346002)(451199021)(21615005)(107886003)(5660300002)(8936002)(41300700001)(2616005)(26005)(83380400001)(8676002)(6506007)(1076003)(186003)(166002)(6916009)(4326008)(316002)(66476007)(66946007)(66556008)(86362001)(6512007)(6666004)(38100700002)(6486002)(36756003)(44832011)(478600001)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: L12CD36+PuBhrx2JdaEVhH8JL22hXAn4RNR+O1xosPhbgdZn4wqH9p08c/tU0vreQY19gDWp2PR16ReTndCo36Z+7lorybkqiecyPjUvh9AamS3KcoMiEnQNNPb44qVqTOnRi3GDfI1UAmd9fjuiTLzbYjYZcMz2xVb94m/u1XiMRk2WFimKP/+yu92+jWQaz7MFUqJKJCcfBIYTBAXgjGW6SSJ3WbyWm2ZjfgxyJfTfAVKCAHIhg5NyyFXhWfVbEsKG3avfI5IRWN6HtUB94ZayuRpP9p8JoZRmW/f1rSzgqBt7S5He64JvL218muQrYCEV46pYjrEPRAk6T454H5EMAjyVHWD9YnqNtqUvendwf7FyP+0ryLQDmFevR5QnnotwMv4dsnCS4b5vjqPCrnfViyZ8CV07IZrWLZyQ00PPy37iDnXaBkQm+R0KwY7nSe0hJpW+BowaIkhQsV/FvaoHEWzeyObsX0TDFOj2XvVG8GJ6LBQsPXZ+gJQPq+C7wcKXQ6vVOAo69IJ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Ijw X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: JMAsJbyRKkTuXyKhz3ZINtGwQsiODuixzQxBTDLY25vRBb8ul1od5LLQVUfK4eBNJl+DnFsXHzMfuR95wZ10B3defLhkDL3T9ftJXIexuFnW41agKxC3EtQ46TdeKkNHsiH94VmB1sMwJxdk7zMCXGEfTOCX6WfYlx75NuSI938aS95kv3NVRFYZZ6VmdFRHKpjumIoVuwjvRwj4A7CwLdiQ4j0JaI0b14aGVxmmv11b9JWowFDYXO5GeyxBJb80KHKOl/7oHn5ahNtSPQ+qIBgatTS+7Dph4zsLnnm5wxJfiNsxgsN+9SVZ9eRK5Wr7Qo5V3jJ925ThU/EHn0H/5AJCl/4v4+WyozG9HGVHMj5Dcf6bqHDaZGvfhAdvCXzA83YnP4ttOm9r1Fq89vw1Ucu7F5naxSGZEqEXh6c5ifizVcjmg8RA5ZwLVMXo+DoV0OBbGoOWxQJYXETsFFNMq+/2Q4dVOCIH2SA2ZPEIQZsRtmgun6a+pbVVNQeo9KNGiYF4NihWzsiQFLJBBweIX2i3Zj73HT+ahCsLTNufDaxaEbdGvvs3O4dgulUv/UfeUa2LEazrE+m6vcSSC5QaipqPWM+PdtEz4cxRcW9SLSIlwqv1l83ctmsQxmWesX2qzoxjrIpiJGYa6xdFRpGEf4Eoxqd4px4WdTb/XTeWhmfR0BfSItHDeMkvrVGP+z6Uq+Ng8qLcv6WGWBENjA6i2EeCXVT0khiLK6ZnWUc4qolxWMfcqAk3kG0nMYfvkl4I X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 241d520a-649b-4807-72bc-08db8a1d0cc4 X-MS-Exchange-CrossTenant-AuthSource: CH2PR10MB4344.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2023 19:02:37.6919 (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: ezYhohzbpquinB6FIeMZzKmCu9i0/wsVlXNmSF1UciF7UFQvGuOZN+gYkdB7sKf6R/SDzsdY/StuCLglmgr3zQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR10MB4191 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-21_10,2023-07-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 phishscore=0 adultscore=0 spamscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307210167 X-Proofpoint-GUID: b44s1x-_-nBgFL5zWYpb_melVU_LEcSC X-Proofpoint-ORIG-GUID: b44s1x-_-nBgFL5zWYpb_melVU_LEcSC X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Qing Zhao via Gcc-patches From: Qing Zhao Reply-To: Qing Zhao Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Hi, In the current GCC13 release note, the URL to the option -fstrict-flex-array is wrong (pointing to -Wstrict-flex-array). This is the change to correct the URL and also add the URL in another place where -fstrict-flex-array is mentioned. I have checked the resulting HTML file, works well. Okay for committing? thanks. Qing --- htdocs/gcc-13/changes.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index 68e8c5cc..39b63a84 100644 --- a/htdocs/gcc-13/changes.html +++ b/htdocs/gcc-13/changes.html @@ -46,7 +46,7 @@ You may also want to check out our will no longer issue warnings for out of bounds accesses to trailing struct members of one-element array type anymore. Instead it diagnoses accesses to trailing arrays according to - -fstrict-flex-arrays. + -fstrict-flex-arrays.
  • -fanalyzer is still only suitable for analyzing C code. In particular, using it on C++ is unlikely to give meaningful output.
  • @@ -213,7 +213,7 @@ You may also want to check out our flexible array member for the purpose of accessing the elements of such an array. By default, all trailing arrays in aggregates are treated as flexible array members. Use the new command-line option - -fstrict-flex-arrays + -fstrict-flex-arrays to control which array members are treated as flexible arrays.