From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) by sourceware.org (Postfix) with ESMTPS id AEA5C3858D1E for ; Sat, 11 Mar 2023 17:33:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AEA5C3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=seanbright.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=seanbright.com Date: Sat, 11 Mar 2023 17:33:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seanbright.com; s=protonmail; t=1678556031; x=1678815231; bh=7ngTCw5SWT9VGp3qmIBX7pZXUtYcNASmCtBse8y+4KM=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=B2jlL4IBf3ZOaQOM0dmVd75DYox+vAkxwXVGq3v0Y1HwwenMiE5biWxTBJf0ECpOA ONY4m9czFhjhChnkTOjxfVUwTbzATnuiKVkrwVdmaQvJ/WKxrklxAlb/AkO40t0Ubb UpNn7ZxoXJH0Jr/q39o1+NEm8D4tA7Q9+oaFa2LVDLrgj4t5rRNXfzvYU+l9kpcu48 QllRdOCUmU9BPbt269GhIYh6J/IbOOyOR6NCaXvCpBvRwqqLjbAUbilN47REEiCzd0 atUzwoe/rgIYS9tAAm12kORq5t+o9NtGfqFxqP2BmYhNLXLfRNbI+KwBorpm4Q7wDt JJE6+mqWcee7A== To: gcc-patches@gcc.gnu.org From: Sean Bright Subject: [PATCH] docs: Fix double 'See' in zero-length-bounds docs. Message-ID: In-Reply-To: References: Feedback-ID: 33624412:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_PASS,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: Hi, This fixes a minor issue where the zero-length-bound docs read "See See Zero Length." gcc/ChangeLog: =C2=A0=C2=A0 =C2=A0* doc/invoke.texi (Warning Options): Remove errant 'See' =C2=A0=C2=A0 =C2=A0before @xref. --- =C2=A0gcc/doc/invoke.texi | 2 +- =C2=A01 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 3a6a97862b0..174d160dd6c 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -8345,7 +8345,7 @@ conversions the warnings @option{-Wno-int-to-pointer-= cast} and =C2=A0@item -Wzero-length-bounds =C2=A0Warn about accesses to elements of zero-length array members that mig= ht =C2=A0overlap other members of the same object.=C2=A0 Declaring interior ze= ro-length -arrays is discouraged because accesses to them are undefined.=C2=A0 See +arrays is discouraged because accesses to them are undefined. =C2=A0@xref{Zero Length}. =C2=A0 =C2=A0For example, the first two stores in function @code{bad} are diagnose= d -- 2.34.1