summaryrefslogtreecommitdiff
path: root/gcc/loop-init.c
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-17 18:08:10 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-17 18:08:10 +0000
commit0e1a77e12832a15c920e5a95b83747d7020b03bd (patch)
treef9b4d8d5ff8c3cf2b8b7d8b0817c4d09fca2073d /gcc/loop-init.c
parent0f28615beca3bb564c74e00f62e961ff4e1ec0ed (diff)
downloadgcc-0e1a77e12832a15c920e5a95b83747d7020b03bd.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84873 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-init.c')
-rw-r--r--gcc/loop-init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/loop-init.c b/gcc/loop-init.c
index ff441e8c56d..35fa12ea3e6 100644
--- a/gcc/loop-init.c
+++ b/gcc/loop-init.c
@@ -55,7 +55,6 @@ loop_optimizer_init (FILE *dumpfile)
{
/* No loops. */
flow_loops_free (loops);
- free_dominance_info (CDI_DOMINATORS);
free (loops);
return NULL;
@@ -105,7 +104,6 @@ loop_optimizer_finalize (struct loops *loops, FILE *dumpfile)
/* Clean up. */
flow_loops_free (loops);
- free_dominance_info (CDI_DOMINATORS);
free (loops);
/* Checking. */