public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Sean Bright <sean@seanbright.com>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH] docs: Fix double 'See' in zero-length-bounds docs.
Date: Sat, 11 Mar 2023 17:33:46 +0000	[thread overview]
Message-ID: <e2d2ce62-49e9-296d-096f-e82c203d9f14@seanbright.com> (raw)
In-Reply-To: <f82b00e1-1263-79cc-78d8-887a5580026f@seanbright.com>

Hi,

This fixes a minor issue where the zero-length-bound docs read "See See
Zero Length."

gcc/ChangeLog:
    * doc/invoke.texi (Warning Options): Remove errant 'See'
    before @xref.
---
 gcc/doc/invoke.texi | 2 +-
 1 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
 @item -Wzero-length-bounds
 Warn about accesses to elements of zero-length array members that might
 overlap other members of the same object.  Declaring interior zero-length
-arrays is discouraged because accesses to them are undefined.  See
+arrays is discouraged because accesses to them are undefined.
 @xref{Zero Length}.
 
 For example, the first two stores in function @code{bad} are diagnosed
--
2.34.1



       reply	other threads:[~2023-03-11 17:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f82b00e1-1263-79cc-78d8-887a5580026f@seanbright.com>
2023-03-11 17:33 ` Sean Bright [this message]
2023-03-11 23:39   ` Bernhard Reutner-Fischer
2023-03-12  2:47     ` Sean Bright
2023-03-12  8:12       ` Bernhard Reutner-Fischer
2023-03-12 19:32         ` Sandra Loosemore
2023-03-13 13:40           ` Sean Bright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e2d2ce62-49e9-296d-096f-e82c203d9f14@seanbright.com \
    --to=sean@seanbright.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).