aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-07-24 18:07:25 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2002-07-24 16:07:25 +0000
commit7e51e626abae2f44754bf4a4f1a9bec9cc5fe8d1 (patch)
tree7a21c2c3c197771629245d3dd411ecb371d005a9
parent5526ddf6fd215e80083eea611180c6073f006da6 (diff)
downloadgcc-7e51e626abae2f44754bf4a4f1a9bec9cc5fe8d1.zip
gcc-7e51e626abae2f44754bf4a4f1a9bec9cc5fe8d1.tar.gz
gcc-7e51e626abae2f44754bf4a4f1a9bec9cc5fe8d1.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/toplev.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dca8f44..dddc380 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka <jh@suse.cz>
+
+ * toplev.c (rest_of_compilation): Dump loops before clobbering
+ the structure.
+
Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz>
* rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
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);