[committed] Fix typo: paramter -> parameter [PR93864]

Message ID 20200225080822.GC2110@tucnak
State New
Headers show
Series
  • [committed] Fix typo: paramter -> parameter [PR93864]
Related show

Commit Message

Jakub Jelinek Feb. 25, 2020, 8:08 a.m.
Hi!

Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk
as obvious.

2020-02-25  Jakub Jelinek  <jakub@redhat.com>

	PR translation/93864
	* config/lm32/lm32.c (lm32_setup_incoming_varargs): Fix comment typo
	paramter -> parameter.
	* config/aarch64/aarch64.c (aarch64_is_extend_from_extract): Likewise.
	* ipa-prop.h (struct ipa_agg_replacement_value): Likewise.

	* intrinsic.texi (CO_BROADCAST): Fix typo, paramter -> parameter.
	* trans-array.c (gfc_allocate_pdt_comp, gfc_deallocate_pdt_comp,
	gfc_check_pdt_dummy): Fix comment typo paramter -> parameter.

	* objc.dg/encode-2.m: Fix comment typo paramter -> parameter.
	* obj-c++.dg/encode-4.mm: Likewise.
	* gfortran.dg/data_array_5.f90: Likewise.
	* gcc.dg/decl-1.c: Likewise.


	Jakub

Patch

--- gcc/config/lm32/lm32.c.jj	2020-01-12 11:54:36.342414480 +0100
+++ gcc/config/lm32/lm32.c	2020-02-24 09:08:28.714310641 +0100
@@ -692,7 +692,7 @@  lm32_setup_incoming_varargs (cumulative_
     {
       /* this is the common case, we have been passed details setup
          for the last named argument, we want to skip over the
-         registers, if any used in passing this named paramter in
+         registers, if any used in passing this named parameter in
          order to determine which is the first registers used to pass
          anonymous arguments.  */
       int size = arg.promoted_size_in_bytes ();
--- gcc/config/aarch64/aarch64.c.jj	2020-02-21 21:54:56.341352456 +0100
+++ gcc/config/aarch64/aarch64.c	2020-02-24 09:08:35.404210671 +0100
@@ -2294,7 +2294,7 @@  aarch64_is_noplt_call_p (rtx sym)
 
 /* Return true if the offsets to a zero/sign-extract operation
    represent an expression that matches an extend operation.  The
-   operands represent the paramters from
+   operands represent the parameters from
 
    (extract:MODE (mult (reg) (MULT_IMM)) (EXTRACT_IMM) (const_int 0)).  */
 bool
--- gcc/ipa-prop.h.jj	2020-01-12 11:54:36.654409773 +0100
+++ gcc/ipa-prop.h	2020-02-24 09:09:08.521715780 +0100
@@ -738,7 +738,7 @@  struct GTY(()) ipa_agg_replacement_value
   HOST_WIDE_INT offset;
   /* The constant value.  */
   tree value;
-  /* The paramter index.  */
+  /* The parameter index.  */
   int index;
   /* Whether the value was passed by reference.  */
   bool by_ref;
--- gcc/fortran/intrinsic.texi.jj	2020-02-03 13:17:22.113631848 +0100
+++ gcc/fortran/intrinsic.texi	2020-02-24 09:09:49.910097299 +0100
@@ -3693,7 +3693,7 @@  Collective subroutine
 @item @emph{Arguments}:
 @multitable @columnfractions .20 .65
 @item @var{A}            @tab INTENT(INOUT) argument; shall have the same
-dynamic type and type paramters on all images of the current team. If it
+dynamic type and type parameters on all images of the current team. If it
 is an array, it shall have the same shape on all images.
 @item @var{SOURCE_IMAGE} @tab a scalar integer expression.
 It shall have the same the same value on all images and refer to an
--- gcc/fortran/trans-array.c.jj	2020-02-24 09:02:27.309711248 +0100
+++ gcc/fortran/trans-array.c	2020-02-24 09:09:22.320509573 +0100
@@ -9846,7 +9846,7 @@  gfc_copy_only_alloc_comp (gfc_symbol * d
 }
 
 
-/* Recursively traverse an object of paramterized derived type, generating
+/* Recursively traverse an object of parameterized derived type, generating
    code to allocate parameterized components.  */
 
 tree
@@ -9862,7 +9862,7 @@  gfc_allocate_pdt_comp (gfc_symbol * der_
   return res;
 }
 
-/* Recursively traverse an object of paramterized derived type, generating
+/* Recursively traverse an object of parameterized derived type, generating
    code to deallocate parameterized components.  */
 
 tree
@@ -9873,7 +9873,7 @@  gfc_deallocate_pdt_comp (gfc_symbol * de
 }
 
 
-/* Recursively traverse a dummy of paramterized derived type to check the
+/* Recursively traverse a dummy of parameterized derived type to check the
    values of LEN parameters.  */
 
 tree
--- gcc/testsuite/objc.dg/encode-2.m.jj	2020-01-12 11:54:38.475382299 +0100
+++ gcc/testsuite/objc.dg/encode-2.m	2020-02-24 09:08:50.792980710 +0100
@@ -2,10 +2,10 @@ 
 
 /* The _encoded_ parameter offsets for Objective-C methods are 
    computed inductively as follows:
-    - The first paramter (self) has offset 0;
+    - The first parameter (self) has offset 0;
     - The k-th parameter (k > 1) has offset equal to the
       sum of:
-        - the offset of the k-1-st paramter
+        - the offset of the k-1-st parameter
         - the (void *)-promoted size of the k-1-st parameter.
 
    Note that the encoded offsets need not correspond
--- gcc/testsuite/obj-c++.dg/encode-4.mm.jj	2020-01-12 11:54:38.462382495 +0100
+++ gcc/testsuite/obj-c++.dg/encode-4.mm	2020-02-24 09:08:56.049902154 +0100
@@ -2,10 +2,10 @@ 
 
 /* The _encoded_ parameter offsets for Objective-C methods are 
    computed inductively as follows:
-    - The first paramter (self) has offset 0;
+    - The first parameter (self) has offset 0;
     - The k-th parameter (k > 1) has offset equal to the
       sum of:
-        - the offset of the k-1-st paramter
+        - the offset of the k-1-st parameter
         - the (void *)-promoted size of the k-1-st parameter.
 
    Note that the encoded offsets need not correspond
--- gcc/testsuite/gfortran.dg/data_array_5.f90.jj	2020-01-11 16:31:55.985279255 +0100
+++ gcc/testsuite/gfortran.dg/data_array_5.f90	2020-02-24 09:09:00.074842006 +0100
@@ -1,6 +1,6 @@ 
 ! { dg-do compile }
 ! Tests the fix for PR36371, in which the locus for the errors pointed to
-! the paramter declaration rather than the data statement.
+! the parameter declaration rather than the data statement.
 !
 ! Contributed by Dominique d'Humieres <dominiq@lps.ens.fr>
 !
--- gcc/testsuite/gcc.dg/decl-1.c.jj	2020-01-12 11:54:37.412398337 +0100
+++ gcc/testsuite/gcc.dg/decl-1.c	2020-02-24 09:09:03.964783879 +0100
@@ -6,7 +6,7 @@ 
    6.7.5.3 p11.  Also see C89 DR #009, which was erroneously omitted
    from C99, and resubmitted as DR #249: if in a parameter
    declaration, an identifier can be read as a typedef name or a
-   paramter name, it is read as a typedef name).  */
+   parameter name, it is read as a typedef name).  */
 
 /* { dg-do compile } */