Commit 71837f64 by Jakub Jelinek

Fix typo: paramter -> parameter [PR93864]

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.
parent 267cca3d
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.
2020-02-24 Roman Zhuykov <zhroma@ispras.ru>
* doc/install.texi (--enable-checking): Properly document current
......
......@@ -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
......
......@@ -691,10 +691,10 @@ lm32_setup_incoming_varargs (cumulative_args_t cum_v,
else
{
/* 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
order to determine which is the first registers used to pass
anonymous arguments. */
for the last named argument, we want to skip over the
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 ();
first_anon_arg =
......
2020-02-25 Jakub Jelinek <jakub@redhat.com>
PR translation/93864
* 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.
2020-02-24 Mark Eggleston <mark.eggleston@codethink.com>
Steven G. Kargl <kargl@gcc.gnu.org>
Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/93835
* decl.c (gfc_match_data) : Check whether the data expression
......
......@@ -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
......
......@@ -9846,7 +9846,7 @@ gfc_copy_only_alloc_comp (gfc_symbol * der_type, tree decl, tree dest, int rank)
}
/* 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_type, tree decl, int rank,
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 * der_type, tree decl, int rank)
}
/* 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
......
......@@ -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;
......
2020-02-25 Jakub Jelinek <jakub@redhat.com>
PR translation/93864
* 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.
2020-02-24 David Malcolm <dmalcolm@redhat.com>
PR analyzer/93032
......
......@@ -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 } */
......
! { 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>
!
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment