Shrink out-of-SSA dump

Message ID 20231208082037.6960F138FF@imap2.dmz-prg2.suse.org
State Committed
Commit 63a541a0905867cbd5762f55a928778724ed0ec7
Headers
Series Shrink out-of-SSA dump |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 warning Patch is already merged

Commit Message

Richard Biener Dec. 8, 2023, 8:20 a.m. UTC
  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(-)
  

Patch

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;
 }