From patchwork Fri Aug 3 09:33:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Malcolm X-Patchwork-Id: 953121 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-483092-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="JAE4a1lA"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41hggL5ZpCz9s3Z for ; Fri, 3 Aug 2018 18:48:30 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=PK5arhS4wOPW j5J/4eu6vaeacfEadHyfrPaMc2F5/XBcPOYdxfKblksyQtbnZszsBNJuOFxMPLjf P3KLqDpu4AIFeJk1pNKQsn7rNZ5n2q48TFhEc5lILgowZXtUoNXY8wSR4pPAtRSQ 97XWCBk2Z2+Pxe0hTW6DQqcxgShBDc4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; s=default; bh=IYtTvTOhe3/aSXAjt6 5SXNdq2Co=; b=JAE4a1lAdpoi4x2enl521+ydLMl1o7kS0uHn9BW/y//OGVbhgA W8LH2B2x8uGbcEQCtS9EFTezloM6LgDy+AT1o0+zjMvMNkh2mrq07Ub6NgmW7Rvg dxLiuCuGwVuCfLZQoLd/J34LtRCIn9i1VAJkPeqvLQXwBqafCuba8+XLo= Received: (qmail 9293 invoked by alias); 3 Aug 2018 08:48:22 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 9241 invoked by uid 89); 3 Aug 2018 08:48:14 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=informations, arcs X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 03 Aug 2018 08:48:12 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5FA0E5F72A for ; Fri, 3 Aug 2018 08:48:11 +0000 (UTC) Received: from c64.redhat.com (ovpn-112-32.phx2.redhat.com [10.3.112.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 349E016934; Fri, 3 Aug 2018 08:48:08 +0000 (UTC) From: David Malcolm To: gcc-patches@gcc.gnu.org Cc: David Malcolm Subject: [PATCH] docs: fix stray duplicated words Date: Fri, 3 Aug 2018 05:33:22 -0400 Message-Id: <1533288802-64128-1-git-send-email-dmalcolm@redhat.com> X-IsSubscribed: yes A manpage checker [1] detected various stray repeated words in the generated manpages for gcc and gcov, which this patch fixes. Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. OK for trunk? Thanks Dave [1] https://bugzilla.redhat.com/show_bug.cgi?id=1611292 gcc/ChangeLog: * doc/gcov.texi (-x): Remove duplicate "to". * doc/invoke.texi (-Wnoexcept-type): Remove duplicate "calls". (-Wif-not-aligned): Remove duplicate "is". (-flto): Remove duplicate "the". (MicroBlaze Options): In examples of "-mcpu=cpu-type", remove duplicate "v5.00.b". (MSP430 Options): Remove duplicate "and" from the description of "-mgprel-sec=regexp". (x86 Options): Remove duplicate copies of "vmldLog102" and vmlsLog104 from description of "-mveclibabi=type". --- gcc/doc/gcov.texi | 2 +- gcc/doc/invoke.texi | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi index dfa86f1..f33dc8f 100644 --- a/gcc/doc/gcov.texi +++ b/gcc/doc/gcov.texi @@ -340,7 +340,7 @@ Print verbose informations related to basic blocks and arcs. @item -x @itemx --hash-filenames -By default, gcov uses the full pathname of the source files to to create +By default, gcov uses the full pathname of the source files to create an output filename. This can lead to long filenames that can overflow filesystem limits. This option creates names of the form @file{@var{source-file}##@var{md5}.gcov}, diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 6047d82..841cb47 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -3056,7 +3056,7 @@ void h() @{ f(g); @} @end smallexample @noindent -In C++14, @code{f} calls calls @code{f}, but in +In C++14, @code{f} calls @code{f}, but in C++17 it calls @code{f}. @item -Wclass-memaccess @r{(C++ and Objective-C++ only)} @@ -4587,7 +4587,7 @@ The @option{-Wimplicit-fallthrough=3} warning is enabled by @option{-Wextra}. @opindex Wif-not-aligned @opindex Wno-if-not-aligned Control if warning triggered by the @code{warn_if_not_aligned} attribute -should be issued. This is is enabled by default. +should be issued. This is enabled by default. Use @option{-Wno-if-not-aligned} to disable it. @item -Wignored-qualifiers @r{(C and C++ only)} @@ -9613,7 +9613,7 @@ for LTO, use @command{gcc-ar} and @command{gcc-ranlib} instead of @command{ar} and @command{ranlib}; to show the symbols of object files with GIMPLE bytecode, use @command{gcc-nm}. Those commands require that @command{ar}, @command{ranlib} -and @command{nm} have been compiled with plugin support. At link time, use the the +and @command{nm} have been compiled with plugin support. At link time, use the flag @option{-fuse-linker-plugin} to ensure that the library participates in the LTO optimization process: @@ -20159,7 +20159,7 @@ Use features of, and schedule code for, the given CPU. Supported values are in the format @samp{v@var{X}.@var{YY}.@var{Z}}, where @var{X} is a major version, @var{YY} is the minor version, and @var{Z} is compatibility code. Example values are @samp{v3.00.a}, -@samp{v4.00.b}, @samp{v5.00.a}, @samp{v5.00.b}, @samp{v5.00.b}, @samp{v6.00.a}. +@samp{v4.00.b}, @samp{v5.00.a}, @samp{v5.00.b}, @samp{v6.00.a}. @item -mxl-soft-mul @opindex mxl-soft-mul @@ -21839,7 +21839,7 @@ GP-relative addressing. It is most useful in conjunction with The @var{regexp} is a POSIX Extended Regular Expression. This option does not affect the behavior of the @option{-G} option, and -and the specified sections are in addition to the standard @code{.sdata} +the specified sections are in addition to the standard @code{.sdata} and @code{.sbss} small-data sections that are recognized by @option{-mgpopt}. @item -mr0rel-sec=@var{regexp} @@ -27613,11 +27613,11 @@ To use this option, both @option{-ftree-vectorize} and ABI-compatible library must be specified at link time. GCC currently emits calls to @code{vmldExp2}, -@code{vmldLn2}, @code{vmldLog102}, @code{vmldLog102}, @code{vmldPow2}, +@code{vmldLn2}, @code{vmldLog102}, @code{vmldPow2}, @code{vmldTanh2}, @code{vmldTan2}, @code{vmldAtan2}, @code{vmldAtanh2}, @code{vmldCbrt2}, @code{vmldSinh2}, @code{vmldSin2}, @code{vmldAsinh2}, @code{vmldAsin2}, @code{vmldCosh2}, @code{vmldCos2}, @code{vmldAcosh2}, -@code{vmldAcos2}, @code{vmlsExp4}, @code{vmlsLn4}, @code{vmlsLog104}, +@code{vmldAcos2}, @code{vmlsExp4}, @code{vmlsLn4}, @code{vmlsLog104}, @code{vmlsPow4}, @code{vmlsTanh4}, @code{vmlsTan4}, @code{vmlsAtan4}, @code{vmlsAtanh4}, @code{vmlsCbrt4}, @code{vmlsSinh4}, @code{vmlsSin4}, @code{vmlsAsinh4}, @code{vmlsAsin4}, @code{vmlsCosh4},