]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
replace "the the" typos
authorMartin Liska <mliska@suse.cz>
Tue, 20 Sep 2022 13:05:33 +0000 (15:05 +0200)
committerMartin Liska <mliska@suse.cz>
Tue, 20 Sep 2022 13:05:33 +0000 (15:05 +0200)
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.

16 files changed:
gcc/ada/exp_ch6.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_disp.ads
gcc/ctfc.cc
gcc/doc/md.texi
gcc/fortran/gfortran.texi
gcc/gimple-range-infer.cc
gcc/testsuite/g++.dg/warn/Wclass-memaccess.C
gcc/testsuite/g++.dg/warn/Wconversion-real-integer2.C
gcc/testsuite/gcc.target/powerpc/p9-extract-1.c
gcc/testsuite/gcc.target/s390/s390.exp
gcc/testsuite/gcc.target/s390/zvector/vec-cmp-2.c
gcc/testsuite/gdc.dg/torture/simd_store.d
gcc/testsuite/gfortran.dg/actual_array_offset_1.f90
gcc/testsuite/gfortran.dg/pdt_15.f03
gcc/testsuite/gfortran.dg/pointer_array_8.f90

index 0873191bf476d633f4b86a99012199a9f345408f..ce1a7525fa2923a944c8441afe1f9c346f069ee0 100644 (file)
@@ -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)
index 045905825ad4200c96bb5057620f1656c008c3d7..7db0cb7c08f7293f35e9788e54729ec0396c6818 100644 (file)
@@ -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.
 
index 563b7f34e7f8e2894c8691d96d19fd067db35292..841fc741dfcbf13f119216a8f29855f9bcf082c9 100644 (file)
@@ -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.
 
index 9773358a4758b9e0883fd43d37df19cc76ea3981..09645436fdd6c141333251acb2aee07be3b9e77a 100644 (file)
@@ -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.  */
 
index 34825549ed4e315b07d36dc3d63bae0cc0a3932d..d46963f468c51d52d1df30bbc1cb2ff59ee366bc 100644 (file)
@@ -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
index 25410e6088d647993f34805b0a2f2da46304397b..fb4a48911ac5cc0be13588e8f42fa47895c25ceb 100644 (file)
@@ -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
index 2d12f86ce890e5349d3f93c3f42c85fdd633168d..f0d66d047a6863bef5d3b31355471bc5df6e606c 100644 (file)
@@ -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)
index 1dc23dfab7e61fa766f87efa460bc190772106f7..87aaa79ceca07cd98c55c0ce44555bbc49291eb4 100644 (file)
@@ -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,
index 7386525ae84e2e76272d9db247c4f0a0d6c16e3c..404c0668035c838ff89cbb34757bf48407fe3950 100644 (file)
@@ -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:
 //     <built-in>:0:0: warning: conversion to 'float' alters 'int' constant value
 //
index 2b79145d8bc45238c4272d14660bb024fe2b9ae9..d7d3ad77aea822aa3dfeddeb7d7d7607f9a134f2 100644 (file)
@@ -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 <altivec.h>
index 0c440700578a71afb09315b2b088f25595c0b4c8..cae7ea6b212198508791dc8d7dca5baff072d878 100644 (file)
@@ -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 {
index 09a15eb25f07ba481928bfe6a830a99362f89469..c4e75f518c60226f6efe7a7bf2cd444a51da8f8b 100644 (file)
@@ -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*-*-* } } } */
index b96ed42de3341cf1934f016ffeb8632cf7662e74..234c020da85df6b1b769667834cc3a91b7fbd6b8 100644 (file)
@@ -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]);
         }
index a78f54611c641bf855216d23c5e403751658fe2c..53dbc2e7c9176a36f988e8d39e6f107e0fd2af1e 100644 (file)
@@ -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)
index 30c7f18b709b8ee5799af7351f63cd2ffcb271be..4ae19839923f3e644d0fbe5efb337d6bf91cafb3 100644 (file)
@@ -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.
index 3bb2a1bbeccf964fd086fddad4c0b4e9c39e6247..1cc1787948be283e1562734b4ae74669667e9c7d 100644 (file)
@@ -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