This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 5/5] dump_file whitespace nitpicks


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]