passes.c (rest_of_handle_flow2): Close / open the flow2 dump file around the call to...

* passes.c (rest_of_handle_flow2): Close / open the flow2 dump file
	around the call to rest_of_handle_branch_target_load_optimize.

From-SVN: r94015
This commit is contained in:
J"orn Rennecke 2005-01-21 12:41:44 +00:00 committed by Joern Rennecke
parent ac11d73b45
commit 5b5e3a31b9
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-01-21 J"orn Rennecke <joern.rennecke@st.com>
* passes.c (rest_of_handle_flow2): Close / open the flow2 dump file
around the call to rest_of_handle_branch_target_load_optimize.
2005-01-21 Eric Botcazou <ebotcazou@libertysurf.fr>
* config.gcc (sparc-*-netbsdelf*): Include dbxelf.h

View File

@ -1306,7 +1306,11 @@ rest_of_handle_flow2 (void)
split_all_insns (0);
if (flag_branch_target_load_optimize)
rest_of_handle_branch_target_load_optimize ();
{
close_dump_file (DFI_flow2, print_rtl_with_bb, get_insns ());
rest_of_handle_branch_target_load_optimize ();
open_dump_file (DFI_flow2, current_function_decl);
}
if (optimize)
cleanup_cfg (CLEANUP_EXPENSIVE);