This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 5/5] dump_file whitespace nitpicks
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Bernhard Reutner-Fischer <rep dot dot dot nop at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 24 Feb 2012 09:49:59 +0100
- Subject: Re: [PATCH 5/5] dump_file whitespace nitpicks
- Authentication-results: mr.google.com; spf=pass (google.com: domain of richard.guenther@gmail.com designates 10.50.178.8 as permitted sender) smtp.mail=richard.guenther@gmail.com; dkim=pass header.i=richard.guenther@gmail.com
- References: <1330021291-17783-1-git-send-email-rep.dot.nop@gmail.com> <1330021291-17783-6-git-send-email-rep.dot.nop@gmail.com>
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
>