From bbd2180d18856ab3c384cdfb4b1af5b3fb8173ef Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Wed, 31 Mar 1999 16:26:36 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/toplev.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29ad2683c86..58b324a7ad3 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 * flow.c (find_basic_blocks): New argument `do_cleanup'. diff --git a/gcc/toplev.c b/gcc/toplev.c index cf2e8f0cb4b..c5675c1c172 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); }