diff options
author | Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | 2004-07-17 20:08:10 +0200 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2004-07-17 18:08:10 +0000 |
commit | 8a807136e16752e8024f34967cf2071e4c1c284f (patch) | |
tree | f9b4d8d5ff8c3cf2b8b7d8b0817c4d09fca2073d /gcc/passes.c | |
parent | 0e242c8215a01f83fd09116711e8ec13e5341d93 (diff) | |
download | gcc-8a807136e16752e8024f34967cf2071e4c1c284f.zip gcc-8a807136e16752e8024f34967cf2071e4c1c284f.tar.gz gcc-8a807136e16752e8024f34967cf2071e4c1c284f.tar.bz2 |
loop-init.c (loop_optimizer_init, [...]): Do not destroy dominance information.
* loop-init.c (loop_optimizer_init, loop_optimizer_finalize): Do not
destroy dominance information.
* passes.c (rest_of_handle_loop2): Free dominance information.
* tree-cfg.c (cleanup_tree_cfg): Remove unreachable blocks before
jump threading.
(thread_jumps): Update dominance information and remove unreachable
blocks.
* tree-ssa-phiopt.c (replace_phi_with_stmt): Update dominance
information and remove the unreachable block.
From-SVN: r84873
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 60b4c08..108d185 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1380,6 +1380,8 @@ rest_of_handle_loop2 (void) loop_optimizer_finalize (loops, dump_file); } + free_dominance_info (CDI_DOMINATORS); + /* Finalize layout changes. */ FOR_EACH_BB (bb) if (bb->next_bb != EXIT_BLOCK_PTR) |