aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>1999-08-16 10:06:19 +0000
committerNick Clifton <nickc@gcc.gnu.org>1999-08-16 10:06:19 +0000
commit88924698f167b69576864773ea7d7159f7d6c294 (patch)
tree5e7fd8228dbf7b49892785f3079568b66c19917a
parent6c26cda2b5fecff5ed1a7220816eb378ef4fb460 (diff)
downloadgcc-88924698f167b69576864773ea7d7159f7d6c294.zip
gcc-88924698f167b69576864773ea7d7159f7d6c294.tar.gz
gcc-88924698f167b69576864773ea7d7159f7d6c294.tar.bz2
Allow machine dependent reorganisation pass to place information into the RTL
dump file if it so wishes. From-SVN: r28723
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/toplev.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1f5106d..fe38394 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
+
+ * 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 <wilson@cygnus.com>
* explow.c (hard_function_value): Use VOIDmode instead of
diff --git a/gcc/toplev.c b/gcc/toplev.c
index a3cc6b5..1f1c3f5 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);
}