This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 224/236] insn_current_reference_address takes an rtx_insn
- From: David Malcolm <dmalcolm at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: David Malcolm <dmalcolm at redhat dot com>
- Date: Wed, 6 Aug 2014 13:23:23 -0400
- Subject: [PATCH 224/236] insn_current_reference_address takes an rtx_insn
- Authentication-results: sourceware.org; auth=none
- References: <1407345815-14551-1-git-send-email-dmalcolm at redhat dot com>
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