From patchwork Sat May 9 04:08:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tbsaunde+gcc@tbsaunde.org X-Patchwork-Id: 470245 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 73E80140297 for ; Sat, 9 May 2015 14:09:14 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=GWseBlRm; 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:from :to:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=c/Vat5QtpJbMJu6Xa0W+l72rg3ffAuPZZxI7sHK9kMvr4OULPqcgJ 6qK08rQk6ZGq+jDL5tt5AprvV2cG5lx0kceHtw2IVOXUV20p0x2K1mBGdGBxzhQi OPXHxNLQTwfCyCSqqUm/Mf2IOdiefJRKvVtboUxFHFvMvCvhHCXE2M= 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:subject:date:message-id:in-reply-to:references; s=default; bh=QnwDnHz1w0rUDC3jXFxzJIYDpys=; b=GWseBlRmJaOO7UKYom2ntZ3+2+x2 5xyz8UbOIitqYFbY84nPGkA7DR/NsR2WeBNDD1WecS1mHl6Gxlo0WCdAYU6HJ37U UBDrsdOQWa80cs/3VM440zFNUbwe80ovwB2O5dngHUuCq7os8+q+/az6A5JjTEpv oZLejbm5SUtCP14= Received: (qmail 57623 invoked by alias); 9 May 2015 04:08:52 -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 57511 invoked by uid 89); 9 May 2015 04:08:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: paperclip.tbsaunde.org Received: from tbsaunde.org (HELO paperclip.tbsaunde.org) (66.228.47.254) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 09 May 2015 04:08:51 +0000 Received: from iceball.corp.tor1.mozilla.com (unknown [66.207.208.102]) by paperclip.tbsaunde.org (Postfix) with ESMTPSA id 23AA9C0B1 for ; Sat, 9 May 2015 04:08:50 +0000 (UTC) From: tbsaunde+gcc@tbsaunde.org To: gcc-patches@gcc.gnu.org Subject: [PATCH 01/25] use rtx_insn * as the type of a local variable in mode-switching.c Date: Sat, 9 May 2015 00:08:00 -0400 Message-Id: <1431144504-23213-2-git-send-email-tbsaunde+gcc@tbsaunde.org> In-Reply-To: <1431144504-23213-1-git-send-email-tbsaunde+gcc@tbsaunde.org> References: <1431144504-23213-1-git-send-email-tbsaunde+gcc@tbsaunde.org> X-IsSubscribed: yes From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * mode-switching.c (commit_mode_sets): Change type of local variable from rtx to rtx_insn *. --- gcc/ChangeLog | 5 +++++ gcc/mode-switching.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 77d9352..54297f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-08 Trevor Saunders + + * mode-switching.c (commit_mode_sets): Change type of local + variable from rtx to rtx_insn *. + 2015-05-08 Jim Wilson * doc/install.texi (--enable-languages): Add missing jit and lto info. diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c index c0f865c..dd28a3e 100644 --- a/gcc/mode-switching.c +++ b/gcc/mode-switching.c @@ -131,7 +131,7 @@ commit_mode_sets (struct edge_list *edge_list, int e, struct bb_info *info) HARD_REG_SET live_at_edge; basic_block src_bb = eg->src; int cur_mode = info[src_bb->index].mode_out; - rtx mode_set; + rtx_insn *mode_set; REG_SET_TO_HARD_REG_SET (live_at_edge, df_get_live_out (src_bb)); @@ -145,7 +145,7 @@ commit_mode_sets (struct edge_list *edge_list, int e, struct bb_info *info) default_rtl_profile (); /* Do not bother to insert empty sequence. */ - if (mode_set == NULL_RTX) + if (mode_set == NULL) continue; /* We should not get an abnormal edge here. */