From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10796 invoked by alias); 6 Aug 2014 17:21:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 9195 invoked by uid 89); 6 Aug 2014 17:21:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 06 Aug 2014 17:21:18 +0000 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 s76HLGKj008895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 6 Aug 2014 13:21:16 -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 s76HJ2rQ030913; Wed, 6 Aug 2014 13:21:15 -0400 From: David Malcolm To: gcc-patches@gcc.gnu.org Cc: David Malcolm Subject: [PATCH 230/236] Make INSN_HAS_LOCATION require an rtx_insn Date: Wed, 06 Aug 2014 17:22:00 -0000 Message-Id: <1407345815-14551-231-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-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00571.txt.bz2 gcc/ * rtl.h (INSN_HAS_LOCATION): Strengthen param from const_rtx to const rtx_insn *. --- gcc/rtl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/rtl.h b/gcc/rtl.h index f6167d8..49ad08b 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -1402,7 +1402,7 @@ inline unsigned int& INSN_LOCATION (rtx insn) return XUINT (insn, 4); } -inline bool INSN_HAS_LOCATION (const_rtx insn) +inline bool INSN_HAS_LOCATION (const rtx_insn *insn) { return LOCATION_LOCUS (INSN_LOCATION (insn)) != UNKNOWN_LOCATION; } -- 1.8.5.3