From patchwork Wed Aug 6 17:20:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Malcolm X-Patchwork-Id: 377245 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 784B31400AA for ; Thu, 7 Aug 2014 04:02:42 +1000 (EST) 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=MkQFF+UXoW3x96ck3CyIcnSp3CB5iGh0f8f8fCN6Ex2+FOjFI+MDl CmDcY8JL3aHGEWhEIzuVQPhngoyXapTlFope2Dy/4xjAZUqj+Iiez1eTX1OTZ4wa UtWAdZgviFVeM03KZhYaqHUW88u6CrCy1TeZey8I1zdibTimNJu9xs= 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=kRcf8tJXWnxT8pl3ROWJLzQQIZY=; b=niYBl0c7YaFMoXs4rI3u YAAFRDeTnB0xZy9mwC6PZpy1xRMrnLT4VQ0eeVfUTQysS168pKyRoYFP0B83JUX+ vVkGnE89JCdIPCW/WKaVBAd9f1zyKUInXc8g4ZrEswXrl8F5Q2yeGrVjnW7aVBRH N5+j5PcNtbMEM/xzzPHnFzc= Received: (qmail 21846 invoked by alias); 6 Aug 2014 17:42:42 -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 21775 invoked by uid 89); 6 Aug 2014 17:42:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 06 Aug 2014 17:42:41 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XF4tI-00011a-So for gcc-patches@gcc.gnu.org; Wed, 06 Aug 2014 13:20:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XF4tI-000119-Li for gcc-patches@gcc.gnu.org; Wed, 06 Aug 2014 13:20:44 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s76HJhaZ008238 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 6 Aug 2014 13:19:43 -0400 Received: from c64.redhat.com (vpn-239-139.phx2.redhat.com [10.3.239.139]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s76HJ2oj030913; Wed, 6 Aug 2014 13:19:42 -0400 From: David Malcolm To: gcc-patches@gcc.gnu.org Cc: David Malcolm Subject: [PATCH 069/236] dwarf2cfi.c: Use rtx_insn Date: Wed, 6 Aug 2014 13:20:48 -0400 Message-Id: <1407345815-14551-70-git-send-email-dmalcolm@redhat.com> In-Reply-To: <1407345815-14551-1-git-send-email-dmalcolm@redhat.com> References: <1407345815-14551-1-git-send-email-dmalcolm@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 X-IsSubscribed: yes gcc/ * dwarf2cfi.c (add_cfis_to_fde): Strengthen locals "insn", "next" from rtx to rtx_insn *. create_pseudo_cfg): Likewise for local "insn". --- gcc/dwarf2cfi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/dwarf2cfi.c b/gcc/dwarf2cfi.c index 1f56fed..7abe48c 100644 --- a/gcc/dwarf2cfi.c +++ b/gcc/dwarf2cfi.c @@ -2132,7 +2132,7 @@ static void add_cfis_to_fde (void) { dw_fde_ref fde = cfun->fde; - rtx insn, next; + rtx_insn *insn, *next; /* We always start with a function_begin label. */ bool first = false; @@ -2727,7 +2727,7 @@ create_pseudo_cfg (void) { bool saw_barrier, switch_sections; dw_trace_info ti; - rtx insn; + rtx_insn *insn; unsigned i; /* The first trace begins at the start of the function,