From patchwork Tue Jul 17 20:53:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 945365 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-481770-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="l7+RMll1"; 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 41VXYR3GbCz9rxx for ; Wed, 18 Jul 2018 06:53:15 +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=jnZBrZV2CZEdK+T95FRwhOfZmbdTeJkvnVG756yRjpdiQKEI9p +4BLr9+kr4xRBlSDUb7ZrH7cKPa1esNyYLlBnietKrz4GXbGQIrNidu80kSoXNPz wY7HE3UJV2AwSHqUzHQvBIUU1s/4bzSzm86CRXiS6emYVsMhZN0nWUU/k= 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=tbv1eI+cuKeZ5v5k0ezq/kJRNxs=; b=l7+RMll191hyfS+YlUQj 0CCT4dbM/m6z4C6DvzRylAT6FB6o0LvgvjDnVkbXRj6buAoT3Ab2UyYyLdifO+m8 DcBg5bH37RcdbexlsOsu2oGtDUY1s3yTlk+r7+2Aw3BrXkHtc/ti6TcJ2wnPs7fY 0sCGc9to26mFLg/fpAIRmqw= Received: (qmail 113831 invoked by alias); 17 Jul 2018 20:53:08 -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 113819 invoked by uid 89); 17 Jul 2018 20:53:07 -0000 Authentication-Results: sourceware.org; auth=none 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, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= 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; Tue, 17 Jul 2018 20:53:06 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 86623D3C3A for ; Tue, 17 Jul 2018 20:53:05 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-9.rdu2.redhat.com [10.10.112.9]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0D3AA5C54A for ; Tue, 17 Jul 2018 20:53:04 +0000 (UTC) To: gcc-patches From: Jeff Law Subject: [committed] Restoring MIPS builds after alignment changes Openpgp: preference=signencrypt Message-ID: <366cf142-883e-9f67-8739-2b255f59ae72@redhat.com> Date: Tue, 17 Jul 2018 14:53:03 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 X-IsSubscribed: yes Similar to the others... Committed to the trunk. Jeff diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 51e91221147..ac4abdaf1ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2018-07-17 Jeff Law + * config/mips/mips.c (vr4130_align_insns): Update for recent + changes to label_to_alignment. + * config/frv/frv.c (frv_label_align): Update for recent changes to label_to_alignment. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 75ee834137e..ea2fae1d6db 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -18539,7 +18539,7 @@ vr4130_align_insns (void) } /* See whether INSN is an aligned label. */ - if (LABEL_P (insn) && label_to_alignment (insn) >= 3) + if (LABEL_P (insn) && label_to_alignment (insn).levels[0].log >= 3) aligned_p = true; } dfa_finish ();