From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14433 invoked by alias); 6 Aug 2014 17:22:06 -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 12110 invoked by uid 89); 6 Aug 2014 17:21:45 -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 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:45 +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 s76HLCcB024253 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 6 Aug 2014 13:21:12 -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 s76HJ2rK030913; Wed, 6 Aug 2014 13:21:12 -0400 From: David Malcolm To: gcc-patches@gcc.gnu.org Cc: David Malcolm Subject: [PATCH 224/236] insn_current_reference_address takes an rtx_insn Date: Wed, 06 Aug 2014 17:22:00 -0000 Message-Id: <1407345815-14551-225-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/msg00566.txt.bz2 gcc/ * output.h (insn_current_reference_address): Strengthen param from rtx to rtx_insn *. * final.c (insn_current_reference_address): Likewise. --- gcc/final.c | 2 +- gcc/output.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/final.c b/gcc/final.c index b53367d..ddadc41 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -635,7 +635,7 @@ align_fuzz (rtx start, rtx end, int known_align_log, unsigned int growth) to exclude the branch size. */ int -insn_current_reference_address (rtx branch) +insn_current_reference_address (rtx_insn *branch) { rtx dest, seq; int seq_uid; diff --git a/gcc/output.h b/gcc/output.h index a3a5d78..0ee2be7 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -90,7 +90,7 @@ extern void output_asm_insn (const char *, rtx *); /* Compute a worst-case reference address of a branch so that it can be safely used in the presence of aligned labels. Defined in final.c. */ -extern int insn_current_reference_address (rtx); +extern int insn_current_reference_address (rtx_insn *); /* Find the alignment associated with a CODE_LABEL. Defined in final.c. */ -- 1.8.5.3