diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2004-07-16 04:24:43 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2004-07-16 04:24:43 +0000 |
commit | 50265400eda3fdff59d0c78c0c1a4ab1e6c1864d (patch) | |
tree | baaffb19f10b2d534a9f6fb6d58a7d3e73e40247 /gcc | |
parent | 310de7612eb217a6cd55f09f6d7b3601371ace6c (diff) | |
download | gcc-50265400eda3fdff59d0c78c0c1a4ab1e6c1864d.zip gcc-50265400eda3fdff59d0c78c0c1a4ab1e6c1864d.tar.gz gcc-50265400eda3fdff59d0c78c0c1a4ab1e6c1864d.tar.bz2 |
tree-ssa-pre.c (init_pre): Connect infinite loops to exit.
2004-07-16 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-pre.c (init_pre): Connect infinite loops to exit.
(fini_pre): Remove fake edges.
From-SVN: r84800
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-pre.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bc412fc..b58678f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-16 Daniel Berlin <dberlin@dberlin.org> + + * tree-ssa-pre.c (init_pre): Connect infinite loops to exit. + (fini_pre): Remove fake edges. + 2004-07-15 Richard Henderson <rth@redhat.com> * tree-ssa-operands.c (get_expr_operands): Use a switch. Split out... diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 848bd6a..d6b19cd 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -1897,6 +1897,7 @@ init_pre (void) size_t tsize; basic_block bb; + connect_infinite_loops_to_exit (); vn_init (); memset (&pre_stats, 0, sizeof (pre_stats)); FOR_ALL_BB (bb) @@ -1942,7 +1943,8 @@ fini_pre (void) free_alloc_pool (reference_node_pool); free_alloc_pool (unary_node_pool); htab_delete (phi_translate_table); - + remove_fake_edges (); + FOR_ALL_BB (bb) { free (bb->aux); |