summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-28 20:37:15 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-28 20:37:15 +0000
commit297a1f5ae9b57367fac6ca38ebb6f776611a7f6b (patch)
treef03a9ad699f5ebff10a80a0829cb7b31bd93ac25 /gcc
parent380fe2ee852857c24775338659cfe54c83a90164 (diff)
downloadgcc-297a1f5ae9b57367fac6ca38ebb6f776611a7f6b.tar.gz
insn_current_reference_address takes an rtx_insn
gcc/ 2014-08-28 David Malcolm <dmalcolm@redhat.com> * output.h (insn_current_reference_address): Strengthen param from rtx to rtx_insn *. * final.c (insn_current_reference_address): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214692 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/final.c2
-rw-r--r--gcc/output.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3f27e45d0d7..bc59b608f51 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2014-08-28 David Malcolm <dmalcolm@redhat.com>
+ * output.h (insn_current_reference_address): Strengthen param
+ from rtx to rtx_insn *.
+ * final.c (insn_current_reference_address): Likewise.
+
+2014-08-28 David Malcolm <dmalcolm@redhat.com>
+
* basic-block.h (inside_basic_block_p): Strengthen param from
const_rtx to const rtx_insn *.
* cfgbuild.c (inside_basic_block_p): Likewise.
diff --git a/gcc/final.c b/gcc/final.c
index 3103bacffd1..86db275a5b3 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -637,7 +637,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 a3a5d78e8a2..0ee2be7b654 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. */