From patchwork Mon Jun 20 09:37:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyrill Tkachov X-Patchwork-Id: 637907 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rY5Pv3mg4z9t2G for ; Mon, 20 Jun 2016 19:38:10 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=SGcYpeJu; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=jlwSgi6mMz2dzPloYbFVIXH6FsmUvzYFJkgmVGUsFIZrhs mOG/SByQrdDUal0JJLYCySaIYyMtEM9MUfQI9Z01tIuIgz+fQ5Gwxdgq6nQc4djA 8cvbuLXXM2phYGoj1hz7oAt1nFLcjEKJWxtcQsqzN/TwwGNSFXHFRmkbuz53c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=88gabCxJD1PZoSz8hZD3/fWzzlI=; b=SGcYpeJu3siFszF9oPmK 0OST8ir/4Uf/7EfG+BWj+KfOu74KPsKIp7E+K6i8Xw67C92Pv47VmGh1nBakx/D8 ocJkCFVeUqiEwis3pGqH0HpyMGEf6fknn/8IGTa0AqrI0Gu5zQd/Yy/TSAGoX9lS c3PExGTN5vpVvwAxwlzpFi4= Received: (qmail 7059 invoked by alias); 20 Jun 2016 09:38:03 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 7045 invoked by uid 89); 20 Jun 2016 09:38:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, KAM_LOTSOFHASH, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Present, guessed X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Jun 2016 09:37:52 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 55FD73B0 for ; Mon, 20 Jun 2016 02:38:36 -0700 (PDT) Received: from [10.2.206.43] (e100706-lin.cambridge.arm.com [10.2.206.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CC1F23F445 for ; Mon, 20 Jun 2016 02:37:50 -0700 (PDT) Message-ID: <5767B96D.802@foss.arm.com> Date: Mon, 20 Jun 2016 10:37:49 +0100 From: Kyrill Tkachov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: GCC Patches Subject: [PATCH][typo] alignement -> alignment Hi all, Committing the attached typo fix as obvious (I believe "alignement" is the French form). Thanks, Kyrill 2016-06-20 Kyrylo Tkachov * params.def (PARAM_ALIGN_LOOP_ITERATIONS): Use "alignment" instead of "alignement". * tree.h (TYPE_ALIGN): Likewise. 2016-06-20 Kyrylo Tkachov * exp_util.adb (Safe_Unchecked_Type_Conversion): Use "alignment" instead of "alignement". 2016-06-20 Kyrylo Tkachov * 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 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)