diff options
author | Martin Liska <mliska@suse.cz> | 2020-09-24 16:37:41 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-09-25 10:11:27 +0200 |
commit | e9e2953ceddb804e551d75725f4f603aaf71cc0f (patch) | |
tree | 47828e3f235cb52b50ddc3b285f5d7c049bde7f8 | |
parent | 7ac25ab39897e83f38e1246b0330cd2354ae0f91 (diff) | |
download | gcc-e9e2953ceddb804e551d75725f4f603aaf71cc0f.zip gcc-e9e2953ceddb804e551d75725f4f603aaf71cc0f.tar.gz gcc-e9e2953ceddb804e551d75725f4f603aaf71cc0f.tar.bz2 |
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.
-rw-r--r-- | gcc/cgraph.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index b43adaa..eb5f1a5 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); } |