The following removes the second GIMPLE function dump after
remove_ssa_form which used to rewrite the IL with the coalescing
result but doesn't do so since a long time now.

Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed.

        * tree-outof-ssa.cc (rewrite_out_of_ssa): Dump GIMPLE once only,
        after final IL adjustments.
---
 gcc/tree-outof-ssa.cc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gcc/tree-outof-ssa.cc b/gcc/tree-outof-ssa.cc
index 767623ab8ea..5dc58f1b808 100644
--- a/gcc/tree-outof-ssa.cc
+++ b/gcc/tree-outof-ssa.cc
@@ -1352,8 +1352,5 @@ rewrite_out_of_ssa (struct ssaexpand *sa)
 
   remove_ssa_form (flag_tree_ter, sa);
 
-  if (dump_file && (dump_flags & TDF_DETAILS))
-    gimple_dump_cfg (dump_file, dump_flags & ~TDF_DETAILS);
-
   return 0;
 }
-- 
2.35.3

Reply via email to