gcc/ * rtl.h (entry_of_function): Strengthen return type from rtx to rtx_insn *. * cfgrtl.c (entry_of_function): Likewise. --- gcc/cfgrtl.c | 2 +- gcc/rtl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index d386367..3079bb3 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -499,7 +499,7 @@ make_pass_free_cfg (gcc::context *ctxt) } /* Return RTX to emit after when we want to emit code on the entry of function. */ -rtx +rtx_insn * entry_of_function (void) { return (n_basic_blocks_for_fn (cfun) > NUM_FIXED_BLOCKS ? diff --git a/gcc/rtl.h b/gcc/rtl.h index a703e34..3a28fcc 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -3061,7 +3061,7 @@ extern void add_insn_after (rtx, rtx, basic_block); extern void remove_insn (rtx); extern rtx emit (rtx); extern void delete_insn (rtx); -extern rtx entry_of_function (void); +extern rtx_insn *entry_of_function (void); extern void emit_insn_at_entry (rtx); extern void delete_insn_chain (rtx, rtx, bool); extern rtx unlink_insn_chain (rtx, rtx); -- 1.8.5.3