diff mbox

[5/5] dump_file whitespace nitpicks

Message ID 1330021291-17783-6-git-send-email-rep.dot.nop@gmail.com
State New
Headers show

Commit Message

Bernhard Reutner-Fischer Feb. 23, 2012, 6:21 p.m. UTC
gcc/ChangeLog:

2012-02-23  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>

	* tree-into-ssa (update_ssa): Avoid trailing whitespace in
	dump_file.
	* tree-ssa-sccvn.c (print_scc): Ditto.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 gcc/tree-into-ssa.c  |    4 ++--
 gcc/tree-ssa-sccvn.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Comments

Richard Biener Feb. 24, 2012, 8:49 a.m. UTC | #1
On Thu, Feb 23, 2012 at 7:21 PM, Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com> wrote:
> gcc/ChangeLog:
>
> 2012-02-23  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
>
>        * tree-into-ssa (update_ssa): Avoid trailing whitespace in
>        dump_file.
>        * tree-ssa-sccvn.c (print_scc): Ditto.

Ok.

Thanks,
Richard.

> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
> ---
>  gcc/tree-into-ssa.c  |    4 ++--
>  gcc/tree-ssa-sccvn.c |    4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c
> index 7eaed2a..6ca52c1 100644
> --- a/gcc/tree-into-ssa.c
> +++ b/gcc/tree-into-ssa.c
> @@ -3519,9 +3519,9 @@ update_ssa (unsigned update_flags)
>
>       if (dump_flags & TDF_DETAILS)
>        {
> -         fprintf (dump_file, "Affected blocks: ");
> +         fprintf (dump_file, "Affected blocks:");
>          EXECUTE_IF_SET_IN_BITMAP (blocks_to_update, 0, i, bi)
> -           fprintf (dump_file, "%u ", i);
> +           fprintf (dump_file, " %u", i);
>          fprintf (dump_file, "\n");
>        }
>
> diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c
> index fdebe47..ddb1ba6 100644
> --- a/gcc/tree-ssa-sccvn.c
> +++ b/gcc/tree-ssa-sccvn.c
> @@ -2462,11 +2462,11 @@ print_scc (FILE *out, VEC (tree, heap) *scc)
>   tree var;
>   unsigned int i;
>
> -  fprintf (out, "SCC consists of: ");
> +  fprintf (out, "SCC consists of:");
>   FOR_EACH_VEC_ELT (tree, scc, i, var)
>     {
> -      print_generic_expr (out, var, 0);
>       fprintf (out, " ");
> +      print_generic_expr (out, var, 0);
>     }
>   fprintf (out, "\n");
>  }
> --
> 1.7.9
>
diff mbox

Patch

diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c
index 7eaed2a..6ca52c1 100644
--- a/gcc/tree-into-ssa.c
+++ b/gcc/tree-into-ssa.c
@@ -3519,9 +3519,9 @@  update_ssa (unsigned update_flags)
 
       if (dump_flags & TDF_DETAILS)
 	{
-	  fprintf (dump_file, "Affected blocks: ");
+	  fprintf (dump_file, "Affected blocks:");
 	  EXECUTE_IF_SET_IN_BITMAP (blocks_to_update, 0, i, bi)
-	    fprintf (dump_file, "%u ", i);
+	    fprintf (dump_file, " %u", i);
 	  fprintf (dump_file, "\n");
 	}
 
diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c
index fdebe47..ddb1ba6 100644
--- a/gcc/tree-ssa-sccvn.c
+++ b/gcc/tree-ssa-sccvn.c
@@ -2462,11 +2462,11 @@  print_scc (FILE *out, VEC (tree, heap) *scc)
   tree var;
   unsigned int i;
 
-  fprintf (out, "SCC consists of: ");
+  fprintf (out, "SCC consists of:");
   FOR_EACH_VEC_ELT (tree, scc, i, var)
     {
-      print_generic_expr (out, var, 0);
       fprintf (out, " ");
+      print_generic_expr (out, var, 0);
     }
   fprintf (out, "\n");
 }