From patchwork Tue Jun 12 18:54:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Malcolm X-Patchwork-Id: 928448 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-479560-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="lfyD05Gt"; 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 414yd94FRjz9s1R for ; Wed, 13 Jun 2018 04:11:41 +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:from :to:cc:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=e6cnARhbjVGrK/M1kcvc/36vFicu7qzhSE32OaMMVTFTUqwsg0Zdz iBJaeTF2Xne7QjA5N3qstJ2tBwUzG7ax1dmINNoB67c89Cecp7qtn7WEPCljZshP 3QWLxH2XGxQlSMveAgYdYgQiqdv2+7Cr6gXc3YJfM6JtI2t85JKsQY= 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:from :to:cc:subject:date:message-id:in-reply-to:references; s= default; bh=ifEmn8OkjnFaeDBsdRS6B+hu6WM=; b=lfyD05GtgGZ9DjyPtqLX qbDvMfFnQqF3j2g7jCa3LrOZB30JqgkDy/k/vHu6IWEounfuLKgempYt2c1iOvj+ gD+W9ul48PcI+jRJAFkc2Kw/Tdj75LeFXXpvzVwZZiN/Iyw/u2p8Xp8nVyoGC85W k+dlGTUe6l1kvHyBZ4MKJBU= Received: (qmail 122205 invoked by alias); 12 Jun 2018 18:11:25 -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 122106 invoked by uid 89); 12 Jun 2018 18:11:24 -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, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:739 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, 12 Jun 2018 18:11:23 +0000 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1B0E1307DA27 for ; Tue, 12 Jun 2018 18:11:22 +0000 (UTC) Received: from c64.redhat.com (ovpn-112-25.phx2.redhat.com [10.3.112.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5F46B308BDAE; Tue, 12 Jun 2018 18:11:21 +0000 (UTC) From: David Malcolm To: gcc-patches@gcc.gnu.org Cc: David Malcolm Subject: [PATCH 2/5] arc: update for emit-rtl.h change Date: Tue, 12 Jun 2018 14:54:09 -0400 Message-Id: <1528829652-43336-3-git-send-email-dmalcolm@redhat.com> In-Reply-To: <1528829652-43336-1-git-send-email-dmalcolm@redhat.com> References: <1528829652-43336-1-git-send-email-dmalcolm@redhat.com> X-IsSubscribed: yes gcc/ChangeLog: * config/arc/arc.c (hwloop_optimize): Strengthen local "end_label" from rtx to rtx_insn *. --- gcc/config/arc/arc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index 2bedc9a..987abfd 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -7287,8 +7287,8 @@ hwloop_optimize (hwloop_info loop) int i; edge entry_edge; basic_block entry_bb, bb; - rtx iter_reg, end_label; - rtx_insn *insn, *seq, *entry_after, *last_insn; + rtx iter_reg; + rtx_insn *insn, *seq, *entry_after, *last_insn, *end_label; unsigned int length; bool need_fix = false; rtx lp_reg = gen_rtx_REG (SImode, LP_COUNT);