aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/aarch64/aarch64.c2
-rw-r--r--gcc/config/lm32/lm32.c8
-rw-r--r--gcc/fortran/ChangeLog9
-rw-r--r--gcc/fortran/intrinsic.texi2
-rw-r--r--gcc/fortran/trans-array.c6
-rw-r--r--gcc/ipa-prop.h2
-rw-r--r--gcc/testsuite/ChangeLog8
-rw-r--r--gcc/testsuite/gcc.dg/decl-1.c2
-rw-r--r--gcc/testsuite/gfortran.dg/data_array_5.f902
-rw-r--r--gcc/testsuite/obj-c++.dg/encode-4.mm4
-rw-r--r--gcc/testsuite/objc.dg/encode-2.m4
12 files changed, 40 insertions, 17 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3292b9f..0d6cf71 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+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
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 703f69a..f53c98e 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -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
diff --git a/gcc/config/lm32/lm32.c b/gcc/config/lm32/lm32.c
index 6f59e37..9bc3824 100644
--- a/gcc/config/lm32/lm32.c
+++ b/gcc/config/lm32/lm32.c
@@ -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 =
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 5759689..bb27356 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,5 +1,12 @@
+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
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi
index 36ca4e7..a1ecf59 100644
--- a/gcc/fortran/intrinsic.texi
+++ b/gcc/fortran/intrinsic.texi
@@ -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
diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c
index 0449d28..65ba84c 100644
--- a/gcc/fortran/trans-array.c
+++ b/gcc/fortran/trans-array.c
@@ -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
diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h
index 6aad0c4..ea5043a 100644
--- a/gcc/ipa-prop.h
+++ b/gcc/ipa-prop.h
@@ -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;
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index fa451c6..fca49c3 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+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
diff --git a/gcc/testsuite/gcc.dg/decl-1.c b/gcc/testsuite/gcc.dg/decl-1.c
index 348bb92..8bad2d3 100644
--- a/gcc/testsuite/gcc.dg/decl-1.c
+++ b/gcc/testsuite/gcc.dg/decl-1.c
@@ -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 } */
diff --git a/gcc/testsuite/gfortran.dg/data_array_5.f90 b/gcc/testsuite/gfortran.dg/data_array_5.f90
index 1d4e4e7..9f62b93 100644
--- a/gcc/testsuite/gfortran.dg/data_array_5.f90
+++ b/gcc/testsuite/gfortran.dg/data_array_5.f90
@@ -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>
!
diff --git a/gcc/testsuite/obj-c++.dg/encode-4.mm b/gcc/testsuite/obj-c++.dg/encode-4.mm
index 4f34644..ac398c8 100644
--- a/gcc/testsuite/obj-c++.dg/encode-4.mm
+++ b/gcc/testsuite/obj-c++.dg/encode-4.mm
@@ -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
diff --git a/gcc/testsuite/objc.dg/encode-2.m b/gcc/testsuite/objc.dg/encode-2.m
index a57a3d3..1f496c1 100644
--- a/gcc/testsuite/objc.dg/encode-2.m
+++ b/gcc/testsuite/objc.dg/encode-2.m
@@ -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