aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-03-31 16:26:36 +0000
committerJeff Law <law@gcc.gnu.org>1999-03-31 09:26:36 -0700
commitbbd2180d18856ab3c384cdfb4b1af5b3fb8173ef (patch)
tree0fff9870f45fd7d4c9512a0c5e5d475ad683e9a9
parent359da67d8aa7661e25fff84bfc65a4ff52f7d84b (diff)
downloadgcc-bbd2180d18856ab3c384cdfb4b1af5b3fb8173ef.zip
gcc-bbd2180d18856ab3c384cdfb4b1af5b3fb8173ef.tar.gz
gcc-bbd2180d18856ab3c384cdfb4b1af5b3fb8173ef.tar.bz2
toplev.c (rest_of_compilation): Allow dbr_schedule to write to the dump file too.
* toplev.c (rest_of_compilation): Allow dbr_schedule to write to the dump file too. From-SVN: r26091
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/toplev.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 29ad268..58b324a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed Mar 31 17:20:11 1999 Jeffrey A Law (law@cygnus.com)
+
+ * toplev.c (rest_of_compilation): Allow dbr_schedule to write to
+ the dump file too.
+
Wed Mar 31 12:32:43 1999 Richard Henderson <rth@cygnus.com>
* flow.c (find_basic_blocks): New argument `do_cleanup'.
diff --git a/gcc/toplev.c b/gcc/toplev.c
index cf2e8f0..c5675c1 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -4238,11 +4238,14 @@ rest_of_compilation (decl)
#ifdef DELAY_SLOTS
if (optimize > 0 && flag_delayed_branch)
{
+ if (dbr_sched_dump)
+ open_dump_file (".dbr", decl_printable_name (decl, 2));
+
TIMEVAR (dbr_sched_time, dbr_schedule (insns, rtl_dump_file));
if (dbr_sched_dump)
{
- dump_rtl (".dbr", decl, print_rtl_with_bb, insns);
+ close_dump_file (print_rtl_with_bb, insns);
if (graph_dump_format != no_graph)
print_rtl_graph_with_bb (dump_base_name, ".dbr", insns);
}