From: Daniel Berlin Date: Fri, 16 Jul 2004 04:24:43 +0000 (+0000) Subject: tree-ssa-pre.c (init_pre): Connect infinite loops to exit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50265400eda3fdff59d0c78c0c1a4ab1e6c1864d;p=gcc.git tree-ssa-pre.c (init_pre): Connect infinite loops to exit. 2004-07-16 Daniel Berlin * tree-ssa-pre.c (init_pre): Connect infinite loops to exit. (fini_pre): Remove fake edges. From-SVN: r84800 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bc412fce202..b58678f1615 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-16 Daniel Berlin + + * tree-ssa-pre.c (init_pre): Connect infinite loops to exit. + (fini_pre): Remove fake edges. + 2004-07-15 Richard Henderson * 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 848bd6a3941..d6b19cd916a 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);