From patchwork Fri Sep 29 18:13:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 820043 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-463221-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="XEKxaxz2"; dkim-atps=neutral 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 3y3fnX2h4Nz9t2Z for ; Sat, 30 Sep 2017 04:13:34 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=ulVQj6EG6qH+Yl45yVb9fUoLaWdaPqhKNn8CD1ap5ODpajE8zS U1KAaUN7qPLCnEouT4SaLf3k4Xwr6kFRSjsu35vQAE9RxI9M2tL1uhpegJoa3MN4 8wOff/CJY/0d8pUGu3HoqwS33q+HqIqoDRCXoJvwet1xfhWJI7Htdj9RI= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=dbDlAnYoyH2TuZoIlroX/402lxw=; b=XEKxaxz2nN3QAQASD34A 4vbY+6qKSeHDUtl0np6Niuo7kL+HhJxU1wMxIdu5ynZN68NvIPLdmQaAkn8NBAPO NzAMvQ1YO7+YA2pKhQagLfCchQVFC93IThOg2mD6CvwpwpAKjWAVsqUStZ7aIc54 rWCIWOuJ+evfkQkW153aZVA= Received: (qmail 22945 invoked by alias); 29 Sep 2017 18:13:20 -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 22933 invoked by uid 89); 29 Sep 2017 18:13:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=closest, H*MI:b689, H*M:b689 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 29 Sep 2017 18:13:19 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C41B0776C4 for ; Fri, 29 Sep 2017 18:13:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C41B0776C4 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=law@redhat.com Received: from localhost.localdomain (ovpn-112-5.rdu2.redhat.com [10.10.112.5]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1718884CEB for ; Fri, 29 Sep 2017 18:13:16 +0000 (UTC) To: gcc-patches From: Jeff Law Subject: [committed][PATCH] Fix minor typos and whitespace errors Message-ID: <42e38d20-c21b-b689-daec-77b9651466ff@redhat.com> Date: Fri, 29 Sep 2017 12:13:16 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 X-IsSubscribed: yes As pointed out by Bernhard. Installing on the trunk as obvious. Jeff diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 63db7ac..1a8f965 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -13967,7 +13967,7 @@ ix86_adjust_stack_and_probe_stack_clash (const HOST_WIDE_INT size) ?!? This should be revamped to work like aarch64 and s390 where we track the offset from the most recent probe. Normally that - offset would be zero. For a non-return function we would reset + offset would be zero. For a noreturn function we would reset it to PROBE_INTERVAL - (STACK_BOUNDARY / BITS_PER_UNIT). Then we just probe when we cross PROBE_INTERVAL. */ if (TREE_THIS_VOLATILE (cfun->decl)) @@ -14047,7 +14047,7 @@ ix86_adjust_stack_and_probe_stack_clash (const HOST_WIDE_INT size) plus_constant (Pmode, sr.reg, m->fs.cfa_offset + rounded_size)); RTX_FRAME_RELATED_P (insn) = 1; - } + } /* Step 3: the loop. */ rtx size_rtx = GEN_INT (rounded_size); @@ -14060,7 +14060,7 @@ ix86_adjust_stack_and_probe_stack_clash (const HOST_WIDE_INT size) plus_constant (Pmode, stack_pointer_rtx, m->fs.cfa_offset)); RTX_FRAME_RELATED_P (insn) = 1; - } + } m->fs.sp_offset += rounded_size; emit_insn (gen_blockage ()); diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index f7854e9..4e023af 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -1042,7 +1042,7 @@ (define_predicate "SImode_address_operand" (match_code "subreg,zero_extend,and")) -;; Return true if op if a valid address for LEA, and does not contain +;; Return true if op is a valid address for LEA, and does not contain ;; a segment override. Defined as a special predicate to allow ;; mode-less const_int operands pass to address_operand. (define_special_predicate "address_no_seg_operand" diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index d2671ba..52a82df 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -11359,7 +11359,7 @@ s390_emit_prologue (void) /* When probing for stack-clash mitigation, we have to track the distance between the stack pointer and closest known reference. - Most of the time we have to make a worst cast assumption. The + Most of the time we have to make a worst case assumption. The only exception is when TARGET_BACKCHAIN is active, in which case we know *sp (offset 0) was written. */ HOST_WIDE_INT probe_interval