summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/basic-block.h2
-rw-r--r--gcc/cfgbuild.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5fbb47a7e71..3f27e45d0d7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2014-08-28 David Malcolm <dmalcolm@redhat.com>
+
* dwarf2cfi.c (dw_trace_info): Strengthen field "head" from rtx to
rtx_insn *.
(get_trace_info): Likewise for param "insn".
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index a7c88a4d8c1..dd727c2776f 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -822,7 +822,7 @@ extern int flow_find_head_matching_sequence (basic_block, basic_block,
extern bool delete_unreachable_blocks (void);
extern void update_br_prob_note (basic_block);
-extern bool inside_basic_block_p (const_rtx);
+extern bool inside_basic_block_p (const rtx_insn *);
extern bool control_flow_insn_p (const_rtx);
extern rtx_insn *get_last_bb_insn (basic_block);
diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c
index 475739d7a42..028eca16c2b 100644
--- a/gcc/cfgbuild.c
+++ b/gcc/cfgbuild.c
@@ -44,7 +44,7 @@ static void compute_outgoing_frequencies (basic_block);
block. */
bool
-inside_basic_block_p (const_rtx insn)
+inside_basic_block_p (const rtx_insn *insn)
{
switch (GET_CODE (insn))
{