From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 22BA63858C74; Tue, 20 Sep 2022 13:06:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 22BA63858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663679215; bh=AFs5NluSfMzZRSrvX5/Oshb2fG4hCCWIsZxwO8E6ivw=; h=From:To:Subject:Date:From; b=fp9jmXw4DQVI9x2XIwSbBMuqrFYcQz9TCkRmk6WCIoNcemXQFtfb4mTdER9a1D7I2 amUPCy3Uyq2YzKMKRZ1+mc9uouY2S2wzEFi5j2SFtB25b+NR9adMftt3NTqFHersU9 CP2DNZbTVVL2VYmEfCnTO2Wgbiv/ygrXKjHHFwcU= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-2734] replace "the the" typos X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/heads/master X-Git-Oldrev: 5ed0c11ec2a120031db9cecd9de302549e82dced X-Git-Newrev: a8bb495a5627bba44407dedbe38653bb0432d811 Message-Id: <20220920130655.22BA63858C74@sourceware.org> Date: Tue, 20 Sep 2022 13:06:55 +0000 (GMT) List-Id: https://gcc.gnu.org/g:a8bb495a5627bba44407dedbe38653bb0432d811 commit r13-2734-ga8bb495a5627bba44407dedbe38653bb0432d811 Author: Martin Liska Date: Tue Sep 20 15:05:33 2022 +0200 replace "the the" typos 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. Diff: --- 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