From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id C7EBC3858D38; Thu, 25 Jan 2024 08:11:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7EBC3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706170297; bh=dN15HwkboC1CyP/MuazP+qDE7IqX8G7iSMOOxCW9mfE=; h=From:To:Subject:Date:From; b=uaVTYTUMlkBkl6ladWnTlWB+b9G3Aac+51Rdjmx4Mj3Nbr0PFFeUlA/+a5VQ4fMca 1PpHh251cCZd9ZagneOWZONxPt9tZTnXCQohC3ZUTYWAGC0YtEWrE9Sze2JduSQmEp asKZ2mrHSJluO/gYugsVi+lFr2jhyK6aqWhSo+7Q= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-8416] docs: Fix 2 typos X-Act-Checkin: gcc X-Git-Author: Jakub Jelinek X-Git-Refname: refs/heads/master X-Git-Oldrev: 1a8bebb1c59960590e7e2bc1a52757dfdd94210a X-Git-Newrev: 36c1384038f3b9f01124f0fc38bb3c930b1cbe8a Message-Id: <20240125081137.C7EBC3858D38@sourceware.org> Date: Thu, 25 Jan 2024 08:11:37 +0000 (GMT) List-Id: https://gcc.gnu.org/g:36c1384038f3b9f01124f0fc38bb3c930b1cbe8a commit r14-8416-g36c1384038f3b9f01124f0fc38bb3c930b1cbe8a Author: Jakub Jelinek 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 * 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.