From 0eb09f3120838e6b0d02223f5c6ae96f808ec327 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 24 Feb 2012 10:39:38 +0100 Subject: [PATCH] tree-into-ssa (update_ssa): Avoid trailing whitespace in dump_file. 2012-02-23 Bernhard Reutner-Fischer * tree-into-ssa (update_ssa): Avoid trailing whitespace in dump_file. * tree-ssa-sccvn.c (print_scc): Ditto. From-SVN: r184544 --- gcc/ChangeLog | 6 ++++++ gcc/tree-into-ssa.c | 4 ++-- gcc/tree-ssa-sccvn.c | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d0d7b6d6a16..43ac703546f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-02-23 Bernhard Reutner-Fischer + + * tree-into-ssa (update_ssa): Avoid trailing whitespace in + dump_file. + * tree-ssa-sccvn.c (print_scc): Ditto. + 2012-02-23 Bernhard Reutner-Fischer * doc/passes.texi (Full redundancy elimination): Fix typo. diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c index 7eaed2ac727..6ca52c1f32f 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 fdebe477a3a..ddb1ba6640e 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"); }