From 834697e67ce65e2c07891808b71a7c8a6c6077c0 Mon Sep 17 00:00:00 2001 From: rth Date: Wed, 27 Oct 1999 03:24:38 +0000 Subject: [PATCH] * toplev.c (rest_of_compilation): Open jump1 dump file before jump and close after, as opposed to just using dump_rtl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30204 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/toplev.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/toplev.c b/gcc/toplev.c index 3f01189..35f88d0 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -3747,6 +3747,9 @@ rest_of_compilation (decl) /* Find all the EH handlers. */ find_exception_handler_labels (); + if (jump_opt_dump) + open_dump_file (".01.jump", decl_printable_name (decl, 2)); + /* Always do one jump optimization pass to ensure that JUMP_LABEL fields are initialized and to compute whether control can drop off the end of the function. */ @@ -3764,7 +3767,7 @@ rest_of_compilation (decl) /* Dump rtl code after jump, if we are doing that. */ if (jump_opt_dump) - dump_rtl (".01.jump", decl, print_rtl, insns); + close_dump_file (print_rtl, insns); if (ggc_p) ggc_collect (); -- 2.7.4