From patchwork Sun Mar 13 09:31:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 51921 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1AF28385DC38 for ; Sun, 13 Mar 2022 09:31:29 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 2BDA43858D28 for ; Sun, 13 Mar 2022 09:31:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2BDA43858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.90,178,1643702400"; d="diff'?scan'208";a="72916445" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 13 Mar 2022 01:31:12 -0800 IronPort-SDR: MZFbOfkgPBC675CSKThPStDYVvGXFfnOhwIe/WJFdtawraez6OtYdkWIbEHN++cd5UlEtqaN+g rIsNrv1xmTiSEWmyWeD/+QoykmTPCn3US1Tckx6dhcXhpy2HGzRCKII6tAcZ4KoB455aPOz6By K25t8fWXWTEPfn2R4eVLU6QO6ObgxEe4Z1C/ZptBxEQa+zgpJVnTtIwzJQ0s6LmbV9mjW8e8iy 3cSfbYvjhfA36tJuV6G3+mXg36ZNQRqz9MoXS40oH8ZcZRlubgT0zu0dAr2L5d65MWwebmXVee myI= Message-ID: Date: Sun, 13 Mar 2022 10:31:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: gcc-patches From: Tobias Burnus Subject: [committed] texi + c-target.def: Fix typos X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Fixed couple of documentation typos; namely, misspelled words and duplicated words. Committed as r12-7635. Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955 commit 1b85638affe6c987a33427c54e0369b819cd7915 Author: Tobias Burnus Date: Sun Mar 13 10:23:07 2022 +0100 texi + c-target.def: Fix typos gcc/c-family/ChangeLog: * c-target.def (check_string_object_format_arg): Fix description typo. gcc/ChangeLog: * doc/invoke.texi: Fix typos. * doc/tm.texi.in: Remove duplicated word. * doc/tm.texi: Regenerate. libgomp/ChangeLog: * libgomp.texi: Fix typo. --- gcc/c-family/c-target.def | 2 +- gcc/doc/invoke.texi | 6 +++--- gcc/doc/tm.texi | 4 ++-- gcc/doc/tm.texi.in | 2 +- libgomp/libgomp.texi | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gcc/c-family/c-target.def b/gcc/c-family/c-target.def index bd47db0507c..141dcf30716 100644 --- a/gcc/c-family/c-target.def +++ b/gcc/c-family/c-target.def @@ -81,7 +81,7 @@ DEFHOOK DEFHOOK (check_string_object_format_arg, - "If a target implements string objects then this hook should should\n\ + "If a target implements string objects then this hook should\n\ provide a facility to check the function arguments in @var{args_list}\n\ against the format specifiers in @var{format_arg} where the type of\n\ @var{format_arg} is one recognized as a valid string reference type.", diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 036e1f0c32b..2a14e1a9472 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -8238,7 +8238,7 @@ Warn when attempting to deallocate an object that was either not allocated on the heap, or by using a pointer that was not returned from a prior call to the corresponding allocation function. For example, because the call to @code{stpcpy} returns a pointer to the terminating nul character and -not to the begginning of the object, the call to @code{free} below is +not to the beginning of the object, the call to @code{free} below is diagnosed. @smallexample @@ -9527,7 +9527,7 @@ accessing more than the maximum number of elements may be diagnosed. For example, the warning triggers for the following redeclarations because the first one allows an array of any size to be passed to @code{f} while the second one specifies that the array argument must have at least @code{n} -elements. In addition, calling @code{f} with the assotiated VLA bound +elements. In addition, calling @code{f} with the associated VLA bound parameter in excess of the actual VLA bound triggers a warning as well. @smallexample @@ -19639,7 +19639,7 @@ Generate instructions supported by barrel shifter. This is the default unless @option{-mcpu=ARC601} or @samp{-mcpu=ARCEM} is in effect. @item -mjli-always -@opindex mjli-alawys +@opindex mjli-always Force to call a function using jli_s instruction. This option is valid only for ARCv2 architecture. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 49864dd79f8..2f92d37da8c 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -736,7 +736,7 @@ If a target implements string objects then this hook should return @end deftypefn @deftypefn {C Target Hook} void TARGET_CHECK_STRING_OBJECT_FORMAT_ARG (tree @var{format_arg}, tree @var{args_list}) -If a target implements string objects then this hook should should +If a target implements string objects then this hook should provide a facility to check the function arguments in @var{args_list} against the format specifiers in @var{format_arg} where the type of @var{format_arg} is one recognized as a valid string reference type. @@ -2799,7 +2799,7 @@ intermediate registers or scratch registers. If copying a register @var{class} in @var{mode} to @var{x} requires an intermediate or scratch register, @code{SECONDARY_OUTPUT_RELOAD_CLASS} -was supposed to be defined be defined to return the largest register +was supposed to be defined to return the largest register class required. If the requirements for input and output reloads were the same, the macro @code{SECONDARY_RELOAD_CLASS} should have been used instead of defining both diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index 95e5e341f07..f869ddd5e5b 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -2279,7 +2279,7 @@ intermediate registers or scratch registers. If copying a register @var{class} in @var{mode} to @var{x} requires an intermediate or scratch register, @code{SECONDARY_OUTPUT_RELOAD_CLASS} -was supposed to be defined be defined to return the largest register +was supposed to be defined to return the largest register class required. If the requirements for input and output reloads were the same, the macro @code{SECONDARY_RELOAD_CLASS} should have been used instead of defining both diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi index 161a423ac7c..fcabd6e3e10 100644 --- a/libgomp/libgomp.texi +++ b/libgomp/libgomp.texi @@ -245,7 +245,7 @@ The OpenMP 4.5 specification is fully supported. device memory mapped by an array section @tab P @tab @item Mapping of Fortran pointer and allocatable variables, including pointer and allocatable components of variables - @tab P @tab Mapping of vars with allocatable components unspported + @tab P @tab Mapping of vars with allocatable components unsupported @item @code{defaultmap} extensions @tab Y @tab @item @code{declare mapper} directive @tab N @tab @item @code{omp_get_supported_active_levels} routine @tab Y @tab