From: Martin Liska Date: Mon, 20 Apr 2020 12:09:41 +0000 (+0200) Subject: Fix spacing in symtab_node::dump_references. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b4d38df3f190311a4a5b5abb49ed97b1f60d46c;p=gcc.git Fix spacing in symtab_node::dump_references. * symtab.c (symtab_node::dump_references): Add space after one entry. (symtab_node::dump_referring): Likewise. --- 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"); }