public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-8416] docs: Fix 2 typos Date: Thu, 25 Jan 2024 08:11:37 +0000 (GMT) [thread overview] Message-ID: <20240125081137.C7EBC3858D38@sourceware.org> (raw) https://gcc.gnu.org/g:36c1384038f3b9f01124f0fc38bb3c930b1cbe8a commit r14-8416-g36c1384038f3b9f01124f0fc38bb3c930b1cbe8a Author: Jakub Jelinek <jakub@redhat.com> Date: Thu Jan 25 09:10:08 2024 +0100 docs: Fix 2 typos When looking into PR113572, I've noticed a typo in VECTOR_CST documentation and grep found pasto of it elsewhere. 2024-01-25 Jakub Jelinek <jakub@redhat.com> * doc/generic.texi (VECTOR_CST): Fix typo - petterns -> patterns. * doc/rtl.texi (CONST_VECTOR): Likewise. Diff: --- gcc/doc/generic.texi | 2 +- gcc/doc/rtl.texi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/doc/generic.texi b/gcc/doc/generic.texi index 5746bdc026d..c596b7d44b2 100644 --- a/gcc/doc/generic.texi +++ b/gcc/doc/generic.texi @@ -1153,7 +1153,7 @@ vector. For example @{ 0, 1 @} could be seen as two patterns with one element each or one pattern with two elements (@var{base0} and @var{base1}). The canonical encoding is always the one with the fewest patterns or (if both encodings have the same number of -petterns) the one with the fewest encoded elements. +patterns) the one with the fewest encoded elements. @samp{vector_cst_encoding_nelts (@var{v})} gives the total number of encoded elements in @var{v}, which is 6 in the example above. diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 34034a95ec4..8ea6588cb71 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -1843,7 +1843,7 @@ vector. For example @{ 0, 1 @} could be seen as two patterns with one element each or one pattern with two elements (@var{base0} and @var{base1}). The canonical encoding is always the one with the fewest patterns or (if both encodings have the same number of -petterns) the one with the fewest encoded elements. +patterns) the one with the fewest encoded elements. @samp{const_vector_encoding_nelts (@var{v})} gives the total number of encoded elements in @var{v}, which is 6 in the example above.
reply other threads:[~2024-01-25 8:11 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20240125081137.C7EBC3858D38@sourceware.org \ --to=jakub@gcc.gnu.org \ --cc=gcc-cvs@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: linkBe 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).