From 9b4d38df3f190311a4a5b5abb49ed97b1f60d46c Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 20 Apr 2020 14:09:41 +0200 Subject: [PATCH] Fix spacing in symtab_node::dump_references. * symtab.c (symtab_node::dump_references): Add space after one entry. (symtab_node::dump_referring): Likewise. --- gcc/ChangeLog | 6 ++++++ gcc/symtab.c | 14 ++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1edb5f2d70b..405037efbed 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2020-04-20 Martin Liska + + * symtab.c (symtab_node::dump_references): Add space after + one entry. + (symtab_node::dump_referring): Likewise. + 2020-04-18 Jeff Law PR debug/94439 diff --git a/gcc/symtab.c b/gcc/symtab.c index a36cdccf9c1..0e852d4c24d 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -800,11 +800,10 @@ symtab_node::dump_references (FILE *file) int i; for (i = 0; iterate_reference (i, ref); i++) { - fprintf (file, "%s (%s)", - ref->referred->dump_asm_name (), - ipa_ref_use_name [ref->use]); + fprintf (file, "%s (%s) ", ref->referred->dump_asm_name (), + ipa_ref_use_name[ref->use]); if (ref->speculative) - fprintf (file, " (speculative)"); + fprintf (file, "(speculative) "); } fprintf (file, "\n"); } @@ -818,11 +817,10 @@ symtab_node::dump_referring (FILE *file) int i; for (i = 0; iterate_referring(i, ref); i++) { - fprintf (file, "%s (%s)", - ref->referring->dump_asm_name (), - ipa_ref_use_name [ref->use]); + fprintf (file, "%s (%s) ", ref->referring->dump_asm_name (), + ipa_ref_use_name[ref->use]); if (ref->speculative) - fprintf (file, " (speculative)"); + fprintf (file, "(speculative) "); } fprintf (file, "\n"); } -- 2.30.2