This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][typo] alignement -> alignment
- From: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 20 Jun 2016 10:37:49 +0100
- Subject: [PATCH][typo] alignement -> alignment
- Authentication-results: sourceware.org; auth=none
Hi all,
Committing the attached typo fix as obvious (I believe "alignement" is the French form).
Thanks,
Kyrill
2016-06-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* params.def (PARAM_ALIGN_LOOP_ITERATIONS): Use "alignment" instead of
"alignement".
* tree.h (TYPE_ALIGN): Likewise.
2016-06-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* exp_util.adb (Safe_Unchecked_Type_Conversion): Use "alignment"
instead of "alignement".
2016-06-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gfortran.dg/common_align_2.f90: Use "alignment" instead of
"alignement".
diff --git a/gcc/ada/exp_util.adb b/gcc/ada/exp_util.adb
index fcd16a26cb0126113616534f3e81926d0b1a2a83..bed9ac1641d2fa6144e6c34e790a9bd8c059e60f 100644
--- a/gcc/ada/exp_util.adb
+++ b/gcc/ada/exp_util.adb
@@ -8645,7 +8645,7 @@ package body Exp_Util is
-- alignment is known to be at least the maximum alignment for the
-- target or if both alignments are known and the output type's
-- alignment is no stricter than the input's. We can use the component
- -- type alignement for an array if a type is an unpacked array type.
+ -- type alignment for an array if a type is an unpacked array type.
if Present (Alignment_Clause (Otyp)) then
Oalign := Expr_Value (Expression (Alignment_Clause (Otyp)));
diff --git a/gcc/params.def b/gcc/params.def
index a8630463eb84bb2a71354794971ea189e4901870..62ec600ba3c88dde78150fae63591e0855e93752 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -405,7 +405,7 @@ DEFPARAM (PARAM_ALIGN_THRESHOLD,
DEFPARAM (PARAM_ALIGN_LOOP_ITERATIONS,
"align-loop-iterations",
- "Loops iterating at least selected number of iterations will get loop alignement..",
+ "Loops iterating at least selected number of iterations will get loop alignment..",
4, 0, 0)
/* For guessed profiles, the loops having unknown number of iterations
diff --git a/gcc/testsuite/gfortran.dg/common_align_2.f90 b/gcc/testsuite/gfortran.dg/common_align_2.f90
index 09dd3e1fa0a4880333964db6e9d0d7582fbff44d..66b10e6ea9dd5bc12c3278bee7750a9efe83c855 100644
--- a/gcc/testsuite/gfortran.dg/common_align_2.f90
+++ b/gcc/testsuite/gfortran.dg/common_align_2.f90
@@ -1,6 +1,6 @@
! { dg-do run }
! { dg-options "-pedantic-errors -mdalign" { target sh*-*-* } }
-! Tests the fix for PR37614, in which the alignement of commons followed
+! Tests the fix for PR37614, in which the alignment of commons followed
! g77 rather than the standard or other compilers.
!
! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
diff --git a/gcc/tree.h b/gcc/tree.h
index 90413fcf2090043619e8bf190c11c066f63caa74..012fa542cf302b6668485e16ae9c7602660bc24a 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1868,7 +1868,7 @@ extern machine_mode element_mode (const_tree t);
/* The alignment necessary for objects of this type.
The value is an int, measured in bits and must be a power of two.
- We support also an "alignement" of zero. */
+ We support also an "alignment" of zero. */
#define TYPE_ALIGN(NODE) \
(TYPE_CHECK (NODE)->type_common.align \
? ((unsigned)1) << ((NODE)->type_common.align - 1) : 0)