aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>1999-10-26 20:24:38 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-10-26 20:24:38 -0700
commit02db399d6a0772345b4c5e66eab3527469da8e50 (patch)
treead1a9bc8e17c8ce3514a897bd8e76585ada8cb5f /gcc
parent93cba9936ec3d32fcb1b3e484816bab6adb8446f (diff)
downloadgcc-02db399d6a0772345b4c5e66eab3527469da8e50.zip
gcc-02db399d6a0772345b4c5e66eab3527469da8e50.tar.gz
gcc-02db399d6a0772345b4c5e66eab3527469da8e50.tar.bz2
toplev.c (rest_of_compilation): Open jump1 dump file before jump and close after, as opposed to just using dump_rtl.
* toplev.c (rest_of_compilation): Open jump1 dump file before jump and close after, as opposed to just using dump_rtl. From-SVN: r30204
Diffstat (limited to 'gcc')
-rw-r--r--gcc/toplev.c5
1 files changed, 4 insertions, 1 deletions
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 ();