diff options
author | J"orn Rennecke <joern.rennecke@st.com> | 2005-01-21 12:41:44 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2005-01-21 12:41:44 +0000 |
commit | 5b5e3a31b95b9fde0993d897de58c2471a0d888a (patch) | |
tree | 485e507c25a5734d7850c30696e3da90a8e6abbb | |
parent | ac11d73b45b7db2ba29d79ed5e96fd9a3d2cc6eb (diff) | |
download | gcc-5b5e3a31b95b9fde0993d897de58c2471a0d888a.zip gcc-5b5e3a31b95b9fde0993d897de58c2471a0d888a.tar.gz gcc-5b5e3a31b95b9fde0993d897de58c2471a0d888a.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/passes.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1ce38f5..e841f8c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/passes.c b/gcc/passes.c index 10044a29..3d4c679 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -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); |