diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/basic-block.h | 2 | ||||
-rw-r--r-- | gcc/cfgbuild.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 10b3f85c56e..f58a3c9c590 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2014-09-08 David Malcolm <dmalcolm@redhat.com> + * basic-block.h (control_flow_insn_p): Strengthen param from + const_rtx to const rtx_insn *. + * cfgbuild.c (control_flow_insn_p): Likewise. + +2014-09-08 David Malcolm <dmalcolm@redhat.com> + * gcse.c (modify_mem_list): Strengthen this variable from vec<rtx> * to vec<rtx_insn *> *. (vec_rtx_heap): Strengthen this typedef from vec<rtx> to diff --git a/gcc/basic-block.h b/gcc/basic-block.h index fb1c498bb5d..5bd37c9e3f6 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -821,7 +821,7 @@ extern bool delete_unreachable_blocks (void); extern void update_br_prob_note (basic_block); extern bool inside_basic_block_p (const rtx_insn *); -extern bool control_flow_insn_p (const_rtx); +extern bool control_flow_insn_p (const rtx_insn *); extern rtx_insn *get_last_bb_insn (basic_block); /* In dominance.c */ diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c index 028eca16c2b..e5ac8d636e7 100644 --- a/gcc/cfgbuild.c +++ b/gcc/cfgbuild.c @@ -73,7 +73,7 @@ inside_basic_block_p (const rtx_insn *insn) the basic block. */ bool -control_flow_insn_p (const_rtx insn) +control_flow_insn_p (const rtx_insn *insn) { switch (GET_CODE (insn)) { |