From: Diego Novillo Date: Tue, 22 Feb 2005 15:11:06 +0000 (+0000) Subject: tree-into-ssa.c (rewrite_blocks): Move debug dumps from ... X-Git-Tag: releases/gcc-4.0.0~663 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=554beb3a44a24e429ea64b3b77bd7c95990b4849;p=thirdparty%2Fgcc.git tree-into-ssa.c (rewrite_blocks): Move debug dumps from ... * tree-into-ssa.c (rewrite_blocks): Move debug dumps from ... (rewrite_into_ssa): ... here. From-SVN: r95395 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa3709688c92..83a8a0f9f6c4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-02-22 Diego Novillo + + * tree-into-ssa.c (rewrite_blocks): Move debug dumps from ... + (rewrite_into_ssa): ... here. + 2005-02-21 Alexandre Oliva PR tree-optimization/19786 diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c index 0c4f80aa5913..05229470901a 100644 --- a/gcc/tree-into-ssa.c +++ b/gcc/tree-into-ssa.c @@ -1477,7 +1477,15 @@ rewrite_blocks (bool fix_virtual_phis) /* Finalize the dominator walker. */ fini_walk_dominator_tree (&walk_data); + /* Debugging dumps. */ + if (dump_file && (dump_flags & TDF_STATS)) + { + dump_dfa_stats (dump_file); + dump_tree_ssa_stats (dump_file); + } + htab_delete (def_blocks); + def_blocks = NULL; VEC_free (tree_on_heap, block_defs_stack); block_defs_stack = NULL; @@ -1611,13 +1619,6 @@ rewrite_into_ssa (bool all) rewrite_blocks (false); - /* Debugging dumps. */ - if (dump_file && (dump_flags & TDF_STATS)) - { - dump_dfa_stats (dump_file); - dump_tree_ssa_stats (dump_file); - } - /* Free allocated memory. */ FOR_EACH_BB (bb) BITMAP_FREE (dfs[bb->index]);