diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-28 22:22:50 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-28 22:22:50 +0000 |
commit | 777e249ae8010727efffb45959cbdf7a2eed5c1b (patch) | |
tree | 838b5c749cb462341ad1b64dc6cc0bd1daa6820f /gcc/output.h | |
parent | 271f3c2e97c4ffb6dcf82ba570f6be2244bf963d (diff) | |
download | gcc-777e249ae8010727efffb45959cbdf7a2eed5c1b.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31676 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/output.h b/gcc/output.h index dbc373d0c8c..ecd32531074 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)); |