tree-into-ssa.c (rewrite_update_stmt): Do not dump extra newlines.
authorMartin Jambor <mjambor@suse.cz>
Wed, 21 Dec 2011 12:44:31 +0000 (13:44 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 21 Dec 2011 12:44:31 +0000 (13:44 +0100)
2011-12-21  Martin Jambor  <mjambor@suse.cz>

* tree-into-ssa.c (rewrite_update_stmt): Do not dump extra newlines.
(rewrite_update_enter_block): Likewise.
(dump_update_ssa): Likewise.
(update_ssa): Likewise but also dump a newline at the beginning.

From-SVN: r182581

gcc/ChangeLog
gcc/tree-into-ssa.c

index e8f974abb9fade872f7fd66ad75db4deb21f6375..7374a6d7d92c0448d4e3ed69ee5dafa92f1f5c89 100644 (file)
@@ -1,3 +1,10 @@
+2011-12-21  Martin Jambor  <mjambor@suse.cz>
+
+       * tree-into-ssa.c (rewrite_update_stmt): Do not dump extra newlines.
+       (rewrite_update_enter_block): Likewise.
+       (dump_update_ssa): Likewise.
+       (update_ssa): Likewise but also dump a newline at the beginning.
+
 2011-12-21  Enkovich Ilya  <ilya.enkovich@intel.com>
 
        PR target/50038
index 5fd34455df4092d090e830f9e3444bc0a276e40b..7eaed2ac727cfc7466f52ab6f1e5898c8edb7568 100644 (file)
@@ -2051,7 +2051,6 @@ rewrite_update_stmt (gimple stmt, gimple_stmt_iterator gsi)
     {
       fprintf (dump_file, "Updating SSA information for statement ");
       print_gimple_stmt (dump_file, stmt, 0, TDF_SLIM);
-      fprintf (dump_file, "\n");
     }
 
   /* Rewrite USES included in OLD_SSA_NAMES and USES whose underlying
@@ -2199,7 +2198,7 @@ rewrite_update_enter_block (struct dom_walk_data *walk_data ATTRIBUTE_UNUSED,
   gimple_stmt_iterator gsi;
 
   if (dump_file && (dump_flags & TDF_DETAILS))
-    fprintf (dump_file, "\n\nRegistering new PHI nodes in block #%d\n\n",
+    fprintf (dump_file, "Registering new PHI nodes in block #%d\n",
             bb->index);
 
   /* Mark the unwind point for this block.  */
@@ -2848,22 +2847,21 @@ dump_update_ssa (FILE *file)
 
   if (!bitmap_empty_p (SYMS_TO_RENAME (cfun)))
     {
-      fprintf (file, "\n\nSymbols to be put in SSA form\n\n");
+      fprintf (file, "\nSymbols to be put in SSA form\n");
       dump_decl_set (file, SYMS_TO_RENAME (cfun));
       fprintf (file, "\n");
     }
 
   if (names_to_release && !bitmap_empty_p (names_to_release))
     {
-      fprintf (file, "\n\nSSA names to release after updating the SSA web\n\n");
+      fprintf (file, "\nSSA names to release after updating the SSA web\n\n");
       EXECUTE_IF_SET_IN_BITMAP (names_to_release, 0, i, bi)
        {
          print_generic_expr (file, ssa_name (i), 0);
          fprintf (file, " ");
        }
+      fprintf (file, "\n");
     }
-
-  fprintf (file, "\n\n");
 }
 
 
@@ -3342,6 +3340,9 @@ update_ssa (unsigned update_flags)
 
   timevar_push (TV_TREE_SSA_INCREMENTAL);
 
+  if (dump_file && (dump_flags & TDF_DETAILS))
+    fprintf (dump_file, "\nUpdating SSA:\n");
+
   if (!update_ssa_initialized_fn)
     init_update_ssa (cfun);
   gcc_assert (update_ssa_initialized_fn == cfun);
@@ -3506,14 +3507,14 @@ update_ssa (unsigned update_flags)
 
       dump_update_ssa (dump_file);
 
-      fprintf (dump_file, "Incremental SSA update started at block: %d\n\n",
+      fprintf (dump_file, "Incremental SSA update started at block: %d\n",
               start_bb->index);
 
       c = 0;
       EXECUTE_IF_SET_IN_BITMAP (blocks_to_update, 0, i, bi)
        c++;
       fprintf (dump_file, "Number of blocks in CFG: %d\n", last_basic_block);
-      fprintf (dump_file, "Number of blocks to update: %d (%3.0f%%)\n\n",
+      fprintf (dump_file, "Number of blocks to update: %d (%3.0f%%)\n",
               c, PERCENT (c, last_basic_block));
 
       if (dump_flags & TDF_DETAILS)