Commit 02db399d by Richard Henderson

toplev.c (rest_of_compilation): Open jump1 dump file before jump and close…

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
parent 93cba993
...@@ -3747,6 +3747,9 @@ rest_of_compilation (decl) ...@@ -3747,6 +3747,9 @@ rest_of_compilation (decl)
/* Find all the EH handlers. */ /* Find all the EH handlers. */
find_exception_handler_labels (); 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 /* Always do one jump optimization pass to ensure that JUMP_LABEL fields
are initialized and to compute whether control can drop off the end are initialized and to compute whether control can drop off the end
of the function. */ of the function. */
...@@ -3764,7 +3767,7 @@ rest_of_compilation (decl) ...@@ -3764,7 +3767,7 @@ rest_of_compilation (decl)
/* Dump rtl code after jump, if we are doing that. */ /* Dump rtl code after jump, if we are doing that. */
if (jump_opt_dump) if (jump_opt_dump)
dump_rtl (".01.jump", decl, print_rtl, insns); close_dump_file (print_rtl, insns);
if (ggc_p) if (ggc_p)
ggc_collect (); ggc_collect ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment