From 88924698f167b69576864773ea7d7159f7d6c294 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 16 Aug 1999 10:06:19 +0000 Subject: [PATCH] Allow machine dependent reorganisation pass to place information into the RTL dump file if it so wishes. From-SVN: r28723 --- gcc/ChangeLog | 6 ++++++ gcc/toplev.c | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f5106db9fa..fe383948fa6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Fri Aug 13 10:21:28 1999 Nick Clifton + + * toplev.c (rest_of_compilation): Allow machine dependent + reorganisation pass to place information into the RTL dump + file if it so wishes. + Sun Aug 15 12:41:21 1999 Jim Wilson * explow.c (hard_function_value): Use VOIDmode instead of diff --git a/gcc/toplev.c b/gcc/toplev.c index a3cc6b5b6fb..1f1c3f53395 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -4321,11 +4321,14 @@ rest_of_compilation (decl) /* If a machine dependent reorganization is needed, call it. */ #ifdef MACHINE_DEPENDENT_REORG + if (mach_dep_reorg_dump) + open_dump_file (".mach", decl_printable_name (decl, 2)); + MACHINE_DEPENDENT_REORG (insns); if (mach_dep_reorg_dump) { - dump_rtl (".mach", 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, ".mach", insns); }