aboutsummaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-01-28 14:22:50 -0800
committerRichard Henderson <rth@gcc.gnu.org>2000-01-28 14:22:50 -0800
commit19d3c25c9a4da9526a2012b47d14bc731fd0422e (patch)
tree838b5c749cb462341ad1b64dc6cc0bd1daa6820f /gcc/output.h
parent47e6ea667d23d2fd20ad3664e39654cc8a44502f (diff)
downloadgcc-19d3c25c9a4da9526a2012b47d14bc731fd0422e.zip
gcc-19d3c25c9a4da9526a2012b47d14bc731fd0422e.tar.gz
gcc-19d3c25c9a4da9526a2012b47d14bc731fd0422e.tar.bz2
flow.c (find_basic_blocks): Remove do_cleanup argument.
* flow.c (find_basic_blocks): Remove do_cleanup argument. Break out that code ... (cleanup_cfg): ... here. (commit_one_edge_insertion): Detect a return instruction being emitted to an edge. Emit a barrier following; clear fallthru. (commit_edge_insertions): Verify CFG consistency. * function.c (expand_function_start): Kill unused variable. (expand_function_end): Likewise. (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge to insert the epilogue. * gcse.c (gcse_main): Adjust for find_basic_blocks change. (delete_null_pointer_checks): Likewise. * output.h: Likewise. * reg-stack.c (reg_to_stack): Likewise. * toplev.c (rest_of_compilation): Likewise. Run thread_prologue_and_epilogue_insns after rebuilding the CFG. From-SVN: r31676
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/output.h b/gcc/output.h
index dbc373d..ecd3253 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -131,7 +131,8 @@ extern void allocate_for_life_analysis PARAMS ((void));
extern int regno_uninitialized PARAMS ((int));
extern int regno_clobbered_at_setjmp PARAMS ((int));
extern void dump_flow_info PARAMS ((FILE *));
-extern void find_basic_blocks PARAMS ((rtx, int, FILE *, int));
+extern void find_basic_blocks PARAMS ((rtx, int, FILE *));
+extern void cleanup_cfg PARAMS ((rtx));
extern void calculate_loop_depth PARAMS ((FILE *));
extern void free_basic_block_vars PARAMS ((int));
extern void set_block_num PARAMS ((rtx, int));