From patchwork Tue Sep 20 13:06:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 57806 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 E2A6C385801D for ; Tue, 20 Sep 2022 13:08:12 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id D08503858D38 for ; Tue, 20 Sep 2022 13:06:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D08503858D38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 915611F7AB for ; Tue, 20 Sep 2022 13:06:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1663679205; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=M92D1000pPmM4GRcVhjXAPIpHv1IHZUFVT2QzqRBYzU=; b=pIT2LfMD6bLygWVWG3Qyd4VXsLBkKiunykiYu/YSU5QD1jCjlXRR1o4SDZf7lFey8Q+fBB WP3n9KxX4zvOR0fDlZ55hZ45sxYogMelIOc3pXVuEa6BNN5ugyIwdS9X9k+CdkRd+iqrM4 6t0qAMj8GdEACzJHe4pzwzFJx2UeRiU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1663679205; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=M92D1000pPmM4GRcVhjXAPIpHv1IHZUFVT2QzqRBYzU=; b=dXMt+v4K+vDvSfzKPjVNvrTXLcH9BZimDaNZR7OfdM/lJYy0AQmcmi8J60Ql8M40VMe6jp koy1sUcjEz51iyCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 819D813ABB for ; Tue, 20 Sep 2022 13:06:45 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 0FBSHuW6KWM0bAAAMHmgww (envelope-from ) for ; Tue, 20 Sep 2022 13:06:45 +0000 Message-ID: Date: Tue, 20 Sep 2022 15:06:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH][pushed] replace "the the" typos To: gcc-patches@gcc.gnu.org Content-Language: en-US X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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" gcc/ada/ChangeLog: * exp_ch6.adb: Replace "the the" with "the". * sem_ch6.adb: Likewise. * sem_disp.ads: Likewise. gcc/ChangeLog: * ctfc.cc (ctf_add_string): Replace "the the" with "the". * doc/md.texi: Likewise. * gimple-range-infer.cc (non_null_loadstore): Likewise. gcc/fortran/ChangeLog: * gfortran.texi: Replace "the the" with "the". gcc/testsuite/ChangeLog: * g++.dg/warn/Wclass-memaccess.C: Replace "the the" with "the". * g++.dg/warn/Wconversion-real-integer2.C: Likewise. * gcc.target/powerpc/p9-extract-1.c: Likewise. * gcc.target/s390/s390.exp: Likewise. * gcc.target/s390/zvector/vec-cmp-2.c: Likewise. * gdc.dg/torture/simd_store.d: Likewise. * gfortran.dg/actual_array_offset_1.f90: Likewise. * gfortran.dg/pdt_15.f03: Likewise. * gfortran.dg/pointer_array_8.f90: Likewise. --- gcc/ada/exp_ch6.adb | 2 +- gcc/ada/sem_ch6.adb | 2 +- gcc/ada/sem_disp.ads | 2 +- gcc/ctfc.cc | 2 +- gcc/doc/md.texi | 2 +- gcc/fortran/gfortran.texi | 2 +- gcc/gimple-range-infer.cc | 2 +- gcc/testsuite/g++.dg/warn/Wclass-memaccess.C | 2 +- gcc/testsuite/g++.dg/warn/Wconversion-real-integer2.C | 2 +- gcc/testsuite/gcc.target/powerpc/p9-extract-1.c | 2 +- gcc/testsuite/gcc.target/s390/s390.exp | 2 +- gcc/testsuite/gcc.target/s390/zvector/vec-cmp-2.c | 2 +- gcc/testsuite/gdc.dg/torture/simd_store.d | 2 +- gcc/testsuite/gfortran.dg/actual_array_offset_1.f90 | 2 +- gcc/testsuite/gfortran.dg/pdt_15.f03 | 2 +- gcc/testsuite/gfortran.dg/pointer_array_8.f90 | 4 ++-- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/gcc/ada/exp_ch6.adb b/gcc/ada/exp_ch6.adb index 0873191bf47..ce1a7525fa2 100644 --- a/gcc/ada/exp_ch6.adb +++ b/gcc/ada/exp_ch6.adb @@ -6582,7 +6582,7 @@ package body Exp_Ch6 is -- but optimize the case where the result is a function call that -- also needs finalization. In this case the result can directly be - -- allocated on the the return stack of the caller and no further + -- allocated on the return stack of the caller and no further -- processing is required. if Present (Utyp) diff --git a/gcc/ada/sem_ch6.adb b/gcc/ada/sem_ch6.adb index 045905825ad..7db0cb7c08f 100644 --- a/gcc/ada/sem_ch6.adb +++ b/gcc/ada/sem_ch6.adb @@ -505,7 +505,7 @@ package body Sem_Ch6 is -- this because it is not part of the original source. -- If this is an ignored Ghost entity, analysis of the generated -- body is needed to hide external references (as is done in - -- Analyze_Subprogram_Body) after which the the subprogram profile + -- Analyze_Subprogram_Body) after which the subprogram profile -- can be frozen, which is needed to expand calls to such an ignored -- Ghost subprogram. diff --git a/gcc/ada/sem_disp.ads b/gcc/ada/sem_disp.ads index 563b7f34e7f..841fc741dfc 100644 --- a/gcc/ada/sem_disp.ads +++ b/gcc/ada/sem_disp.ads @@ -63,7 +63,7 @@ package Sem_Disp is -- the inherited subprogram will have been hidden by the current one at -- the point of the type derivation, so it does not appear in the list -- of primitive operations of the type, and this procedure inserts the - -- overriding subprogram in the the full type's list of primitives by + -- overriding subprogram in the full type's list of primitives by -- iterating over the list for the parent type. If instead Subp is a new -- primitive, then it's simply appended to the primitive list. diff --git a/gcc/ctfc.cc b/gcc/ctfc.cc index 9773358a475..09645436fdd 100644 --- a/gcc/ctfc.cc +++ b/gcc/ctfc.cc @@ -324,7 +324,7 @@ ctf_add_string (ctf_container_ref ctfc, const char * name, return ctfc_strtable_add_str (str_table, name, name_offset); } -/* Add the compilation unit (CU) name string to the the CTF string table. The +/* Add the compilation unit (CU) name string to the CTF string table. The CU name has a prepended pwd string if it is a relative path. Also set the CU name offset in the CTF container. */ diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 34825549ed4..d46963f468c 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -2282,7 +2282,7 @@ This constraint won't match unless @option{-mprefer-short-insn-regs} is in effect. @item Rsc -The the register class of registers that can be used to hold a +The register class of registers that can be used to hold a sibcall call address. I.e., a caller-saved register. @item Rct diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 25410e6088d..fb4a48911ac 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -3786,7 +3786,7 @@ The arguments are passed in the following order @code{CHARACTER} and no C binding is used @item The arguments in the order in which they appear in the Fortran declaration -@item The the present status for optional arguments with value attribute, +@item The present status for optional arguments with value attribute, which are internally passed by value @item The character length and/or coarray token and offset for the first argument which is a @code{CHARACTER} or a nonallocatable coarray dummy diff --git a/gcc/gimple-range-infer.cc b/gcc/gimple-range-infer.cc index 2d12f86ce89..f0d66d047a6 100644 --- a/gcc/gimple-range-infer.cc +++ b/gcc/gimple-range-infer.cc @@ -56,7 +56,7 @@ non_null_loadstore (gimple *, tree op, tree, void *data) return false; } -// Add NAME and RANGE to the the range inference summary. +// Add NAME and RANGE to the range inference summary. void gimple_infer_range::add_range (tree name, vrange &range) diff --git a/gcc/testsuite/g++.dg/warn/Wclass-memaccess.C b/gcc/testsuite/g++.dg/warn/Wclass-memaccess.C index 1dc23dfab7e..87aaa79ceca 100644 --- a/gcc/testsuite/g++.dg/warn/Wclass-memaccess.C +++ b/gcc/testsuite/g++.dg/warn/Wclass-memaccess.C @@ -1144,7 +1144,7 @@ void test (HasVolRefAssign *p, const HasVolRefAssign &x, /* HasVirtuals should only be manipulated by the special member functions and not by bzero, memcpy, or any other raw memory function. Doing - otherwse might corrupt the the vtable pointer. */ + otherwse might corrupt the vtable pointer. */ struct HasVirtuals { int i; virtual void foo (); }; void test (HasVirtuals *p, const HasVirtuals &x, diff --git a/gcc/testsuite/g++.dg/warn/Wconversion-real-integer2.C b/gcc/testsuite/g++.dg/warn/Wconversion-real-integer2.C index 7386525ae84..404c0668035 100644 --- a/gcc/testsuite/g++.dg/warn/Wconversion-real-integer2.C +++ b/gcc/testsuite/g++.dg/warn/Wconversion-real-integer2.C @@ -4,7 +4,7 @@ // Before the fix that came with this test, we'd output an error for // the __INT_MAX__ token. That token has a BUILTINS_LOCATION -// location, so the the location prefix in the warning message would +// location, so the location prefix in the warning message would // be: // :0:0: warning: conversion to 'float' alters 'int' constant value // diff --git a/gcc/testsuite/gcc.target/powerpc/p9-extract-1.c b/gcc/testsuite/gcc.target/powerpc/p9-extract-1.c index 2b79145d8bc..d7d3ad77aea 100644 --- a/gcc/testsuite/gcc.target/powerpc/p9-extract-1.c +++ b/gcc/testsuite/gcc.target/powerpc/p9-extract-1.c @@ -4,7 +4,7 @@ /* Test to make sure VEXTU{B,H,W}{L,R}X is generated for various vector extract operations for ISA 3.0 (-mcpu=power9). In addition, make sure that neither - of the the the old methods of doing vector extracts are done either by + of the old methods of doing vector extracts are done either by explict stores to the stack or by using direct move instructions. */ #include diff --git a/gcc/testsuite/gcc.target/s390/s390.exp b/gcc/testsuite/gcc.target/s390/s390.exp index 0c440700578..cae7ea6b212 100644 --- a/gcc/testsuite/gcc.target/s390/s390.exp +++ b/gcc/testsuite/gcc.target/s390/s390.exp @@ -30,7 +30,7 @@ load_lib target-supports.exp load_lib gfortran-dg.exp load_lib atomic-dg.exp -# Return 1 if the the assembler understands .machine and .machinemode. The +# Return 1 if the assembler understands .machine and .machinemode. The # target attribute needs that feature to work. proc check_effective_target_target_attribute { } { if { ![check_runtime s390_check_machine_machinemode [subst { diff --git a/gcc/testsuite/gcc.target/s390/zvector/vec-cmp-2.c b/gcc/testsuite/gcc.target/s390/zvector/vec-cmp-2.c index 09a15eb25f0..c4e75f518c6 100644 --- a/gcc/testsuite/gcc.target/s390/zvector/vec-cmp-2.c +++ b/gcc/testsuite/gcc.target/s390/zvector/vec-cmp-2.c @@ -1,5 +1,5 @@ /* Similiar to vec-cmp-1.c but requires that - s390_canonicalize_comparison is able to merge the the two nested + s390_canonicalize_comparison is able to merge the two nested compares. */ /* { dg-do compile { target { s390*-*-* } } } */ diff --git a/gcc/testsuite/gdc.dg/torture/simd_store.d b/gcc/testsuite/gdc.dg/torture/simd_store.d index b96ed42de33..234c020da85 100644 --- a/gcc/testsuite/gdc.dg/torture/simd_store.d +++ b/gcc/testsuite/gdc.dg/torture/simd_store.d @@ -23,7 +23,7 @@ void main() // store `v` to location pointed to by `d` storeUnaligned(cast(T*)d, v); - // check that the the data was stored correctly + // check that the data was stored correctly foreach (j; 0..T.sizeof) assert(ptrToV[j] == d[j]); } diff --git a/gcc/testsuite/gfortran.dg/actual_array_offset_1.f90 b/gcc/testsuite/gfortran.dg/actual_array_offset_1.f90 index a78f54611c6..53dbc2e7c91 100644 --- a/gcc/testsuite/gfortran.dg/actual_array_offset_1.f90 +++ b/gcc/testsuite/gfortran.dg/actual_array_offset_1.f90 @@ -155,7 +155,7 @@ program test_quicksort call quicksort( array ) -! Check the the array is correctly ordered +! Check the array is correctly ordered if (.not.check (array)) STOP 2 contains logical function check (arg) diff --git a/gcc/testsuite/gfortran.dg/pdt_15.f03 b/gcc/testsuite/gfortran.dg/pdt_15.f03 index 30c7f18b709..4ae19839923 100644 --- a/gcc/testsuite/gfortran.dg/pdt_15.f03 +++ b/gcc/testsuite/gfortran.dg/pdt_15.f03 @@ -1,7 +1,7 @@ ! { dg-do compile } ! { dg-options "-fdump-tree-original" } ! -! Test the fix for PR82375. This is a wrinkle on the the allocatable +! Test the fix for PR82375. This is a wrinkle on the allocatable ! version of pdt_13.f03, pdt_14.f03, whereby 'root' is now declared ! in a subroutine so that it should be cleaned up automatically. This ! is best tested with valgrind or its like. diff --git a/gcc/testsuite/gfortran.dg/pointer_array_8.f90 b/gcc/testsuite/gfortran.dg/pointer_array_8.f90 index 3bb2a1bbecc..1cc1787948b 100644 --- a/gcc/testsuite/gfortran.dg/pointer_array_8.f90 +++ b/gcc/testsuite/gfortran.dg/pointer_array_8.f90 @@ -30,7 +30,7 @@ select type (cptr) type is (integer) - if (any (cptr .ne. [1,2,3])) STOP 3! Check the the scalarizer works. + if (any (cptr .ne. [1,2,3])) STOP 3! Check the scalarizer works. if (cptr(2) .ne. 2) STOP 4! Check ordinary array indexing. end select @@ -63,7 +63,7 @@ contains addr = loc(arg) select type (arg) type is (integer) - if (any (arg .ne. [1,2,3])) STOP 11! Check the the scalarizer works. + if (any (arg .ne. [1,2,3])) STOP 11! Check the scalarizer works. if (arg(2) .ne. 2) STOP 12! Check ordinary array indexing. end select end subroutine