From 7e51e626abae2f44754bf4a4f1a9bec9cc5fe8d1 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 24 Jul 2002 18:07:25 +0200 Subject: toplev.c (rest_of_compilation): Dump loops before clobbering the structure. * toplev.c (rest_of_compilation): Dump loops before clobbering the structure. From-SVN: r55712 --- gcc/toplev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/toplev.c') diff --git a/gcc/toplev.c b/gcc/toplev.c index cfb21e4..c72d37c 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2954,13 +2954,13 @@ rest_of_compilation (decl) block. The loop infrastructure does the real job for us. */ flow_loops_find (&loops, LOOP_TREE); + if (rtl_dump_file) + flow_loops_dump (&loops, rtl_dump_file, NULL, 0); + /* Estimate using heuristics if no profiling info is available. */ if (flag_guess_branch_prob) estimate_probability (&loops); - if (rtl_dump_file) - flow_loops_dump (&loops, rtl_dump_file, NULL, 0); - flow_loops_free (&loops); close_dump_file (DFI_bp, print_rtl_with_bb, insns); timevar_pop (TV_BRANCH_PROB); -- cgit v1.1