public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-3451] Fix spacing in cgraph_node::dump. Date: Fri, 25 Sep 2020 08:12:54 +0000 (GMT) [thread overview] Message-ID: <20200925081255.B93B53858D37@sourceware.org> (raw) https://gcc.gnu.org/g:e9e2953ceddb804e551d75725f4f603aaf71cc0f commit r11-3451-ge9e2953ceddb804e551d75725f4f603aaf71cc0f Author: Martin Liska <mliska@suse.cz> Date: Thu Sep 24 16:37:41 2020 +0200 Fix spacing in cgraph_node::dump. gcc/ChangeLog: * cgraph.c (cgraph_node::dump): Always print space at the end of a message. Remove one extra space. Diff: --- gcc/cgraph.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gcc/cgraph.c b/gcc/cgraph.c index b43adaac7c0..eb5f1a56c26 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -2272,18 +2272,17 @@ cgraph_node::dump (FILE *f) edge->dump_edge_flags (f); if (edge->indirect_info->param_index != -1) { - fprintf (f, " of param:%i", edge->indirect_info->param_index); + fprintf (f, "of param:%i ", edge->indirect_info->param_index); if (edge->indirect_info->agg_contents) - fprintf (f, " loaded from %s %s at offset %i", + fprintf (f, "loaded from %s %s at offset %i ", edge->indirect_info->member_ptr ? "member ptr" : "aggregate", edge->indirect_info->by_ref ? "passed by reference":"", (int)edge->indirect_info->offset); if (edge->indirect_info->vptr_changed) - fprintf (f, " (vptr maybe changed)"); + fprintf (f, "(vptr maybe changed) "); } - fprintf (f, " Num speculative call targets: %i", + fprintf (f, "num speculative call targets: %i\n", edge->indirect_info->num_speculative_call_targets); - fprintf (f, "\n"); if (edge->indirect_info->polymorphic) edge->indirect_info->context.dump (f); }
reply other threads:[~2020-09-25 8:12 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200925081255.B93B53858D37@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).