diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-03-19 05:26:48 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-03-19 05:26:48 +0000 |
commit | 116eebd67408bc31ca138311c8ac7f4d2389c22f (patch) | |
tree | 7e5085f497fa4f8351b62a15342abb5192c649b0 /gcc/toplev.c | |
parent | cd8ed629642bebaa19a2fe544f0c3efcafe835f2 (diff) | |
download | gcc-116eebd67408bc31ca138311c8ac7f4d2389c22f.zip gcc-116eebd67408bc31ca138311c8ac7f4d2389c22f.tar.gz gcc-116eebd67408bc31ca138311c8ac7f4d2389c22f.tar.bz2 |
emit-rtl.c (remove_unncessary_notes): Check that all NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an...
* emit-rtl.c (remove_unncessary_notes): Check that all
NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
associated NOTE_BLOCK.
* function.h (identify_blocks): Update comments.
(reorder_blocks): Declare.
* function.c (identify_blocks): Don't take paramters.
(reorder_blocks): Don't take parameters.
* loop.h (find_loop_tree_blocks): Remove.
(unroll_block_trees): Likewise.
* loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
reorder_blocks instead of unroll_block_trees.h
* sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
* stmt.c (find_loop_tree_blocks): Remove.
(unroll_block_trees): Likewise.
* toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
in whole-function mode.
* tree.h (reorder_blocks): Remove declaration.
From-SVN: r32632
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 1e1a650..f304144 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2858,7 +2858,8 @@ rest_of_compilation (decl) /* First, make sure that NOTE_BLOCK is set correctly for each NOTE_INSN_BLOCK_BEG/NOTE_INSN_BLOCK_END note. */ - find_loop_tree_blocks (); + if (!cfun->x_whole_function_mode_p) + identify_blocks (); /* Then remove any notes we don't need. That will make iterating over the instruction sequence faster, and allow the garbage @@ -2868,7 +2869,7 @@ rest_of_compilation (decl) /* In function-at-a-time mode, we do not attempt to keep the BLOCK tree in sensible shape. So, we just recalculate it here. */ if (cfun->x_whole_function_mode_p) - unroll_block_trees (); + reorder_blocks (); /* If we are reconsidering an inline function at the end of compilation, skip the stuff for making it inline. */ |