This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 223/236] inside_basic_block_p requires a const rtx_insn *

	* basic-block.h (inside_basic_block_p): Strengthen param from
	const_rtx to const rtx_insn *.
	* cfgbuild.c (inside_basic_block_p): Likewise.
 gcc/basic-block.h | 2 +-
 gcc/cfgbuild.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index b96c28a..b527f9e 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -819,7 +819,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 082f070..ab268ae 100644
--- a/gcc/cfgbuild.c
+++ b/gcc/cfgbuild.c
@@ -44,7 +44,7 @@ static void compute_outgoing_frequencies (basic_block);
    block.  */
-inside_basic_block_p (const_rtx insn)
+inside_basic_block_p (const rtx_insn *insn)
   switch (GET_CODE (insn))

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]