From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by sourceware.org (Postfix) with ESMTPS id D75173858D1E for ; Sat, 11 Mar 2023 23:39:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D75173858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x52f.google.com with SMTP id y4so5524707edo.2 for ; Sat, 11 Mar 2023 15:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678577970; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:subject:to:from:date:from:to:cc:subject:date:message-id :reply-to; bh=dHbfX3Vh/36yMxJ7t88EQXVEIe4Dj+NEeMWYfVEzzfc=; b=EA8+DpncwqJ3E2Qk9ULQqEztg7/x6JHwmOBys3oYz6hiKBEl1RJxcbFIhqFRcdY4eR T81EYBbVH361u46luTdwAHrghukpdB8t4x5tsTC8gBV2TWNhj0mNH8J/R2EGBPO9KC/w pnQ62p/oj2PKZTN4mD4K1bFhutIht9bzKVD7IDtmgUYC3iok+yktK0MTMp2LlCrNG0tR SFKemRzv8zGsln2yNIKNprtR73OFV0lTMIiIRma5eZft1d9TKi2+20kPERVpgajZGjBo h5QG0bAfdUYCziegDebJp417JuY8EObWrShSdtc9soPRAtN6MtjnrCfb7zlCv+gIJZTD Pe9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678577970; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:subject:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dHbfX3Vh/36yMxJ7t88EQXVEIe4Dj+NEeMWYfVEzzfc=; b=7GksBjhxNSM9t8ht7UZSU0VWdQu0h1yrXaKhAYJIwEyGf+HVicI6hjK5MIvEddX5xw shwDxl6mXKMG6436GOn31yqJrIzUyzMudTrMG7DT4H5I0ykoWzxNYI0VCTzu2lwi7bpQ JTsiPhaNq7tqMocwbVLWOSMAyYGU67Uqk7CezV7woxHu0vwFoaoTH5oUsNBeLNZ1afPf pSVOrfEw6d3BXUpE75i1BlzzDT4FlqlYzTQgKHI8MSPQnLT9/NsNt4JpkbaTcvlsilWI U9k9GV+w06A+315mWFVTH+iCJ2rob3ue4pGRv9HhNtd1Zr8kdBcFuthvUXLJbjLoOSAB 0stA== X-Gm-Message-State: AO0yUKWraPjBK2iCW3bprNgEAh2yOJSlwxH/3cGCEDpm554M1L1hiorP Q1Wvj5zgflmAztWB2k2AbWI= X-Google-Smtp-Source: AK7set95JFG997yN6n0Uti7a/giW5X6xozYDJT4K2F18aDpCNiqVUhfF7H0CriyKWnaOFwudlihKJQ== X-Received: by 2002:a17:907:728c:b0:8b1:788f:2198 with SMTP id dt12-20020a170907728c00b008b1788f2198mr37931157ejc.19.1678577970457; Sat, 11 Mar 2023 15:39:30 -0800 (PST) Received: from ?IPv6:::1? ([2001:871:227:1e16:10bb:72c9:e8a4:fc91]) by smtp.gmail.com with ESMTPSA id ot29-20020a170906ccdd00b008d83ad86fe8sm1596880ejb.59.2023.03.11.15.39.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 11 Mar 2023 15:39:30 -0800 (PST) Date: Sun, 12 Mar 2023 00:39:24 +0100 From: Bernhard Reutner-Fischer To: Sean Bright , Sean Bright via Gcc-patches , gcc-patches@gcc.gnu.org Subject: Re: [PATCH] docs: Fix double 'See' in zero-length-bounds docs. In-Reply-To: References: Message-ID: <6D3851AF-0A1B-4E5D-B100-F63900CFFE54@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 11 March 2023 18:33:46 CET, Sean Bright via Gcc-patches wrote: >Hi, > >This fixes a minor issue where the zero-length-bound docs read "See See >Zero Length=2E" > >gcc/ChangeLog: >=C2=A0=C2=A0 =C2=A0* doc/invoke=2Etexi (Warning Options): Remove errant '= See' >=C2=A0=C2=A0 =C2=A0before @xref=2E >--- >=C2=A0gcc/doc/invoke=2Etexi | 2 +- >=C2=A01 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/gcc/doc/invoke=2Etexi b/gcc/doc/invoke=2Etexi >index 3a6a97862b0=2E=2E174d160dd6c 100644 >--- a/gcc/doc/invoke=2Etexi >+++ b/gcc/doc/invoke=2Etexi >@@ -8345,7 +8345,7 @@ conversions the warnings @option{-Wno-int-to-pointe= r-cast} and >=C2=A0@item -Wzero-length-bounds >=C2=A0Warn about accesses to elements of zero-length array members that m= ight >=C2=A0overlap other members of the same object=2E=C2=A0 Declaring interio= r zero-length >-arrays is discouraged because accesses to them are undefined=2E=C2=A0 Se= e >+arrays is discouraged because accesses to them are undefined=2E >=C2=A0@xref{Zero Length}=2E I'm not a native speaker, but wouldn't it be better to talk about singular= access, i=2Ee=2E s/accesses/access/ in both cases? thanks,