diff mbox series

Fix spacing in a dump in value-prof.c.

Message ID 7a64b7ab-c123-0cc7-b8e8-394923aba102@suse.cz
State New
Headers show
Series Fix spacing in a dump in value-prof.c. | expand

Commit Message

Martin Liška Jan. 16, 2020, 1:32 p.m. UTC
Hi.

One obvious dump fix that I've just tested.
I'm going to install it.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Thanks,
Martin

gcc/ChangeLog:

2020-01-15  Martin Liska  <mliska@suse.cz>

	* value-prof.c (dump_histogram_value): Fix
	obvious spacing issue.
---
  gcc/value-prof.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 9a2c46252c6..b7c7d7eaea5 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -262,10 +262,10 @@  dump_histogram_value (FILE *dump_file, histogram_value hist)
 	{
 	  fprintf (dump_file,
 		   (hist->type == HIST_TYPE_TOPN_VALUES
-		    ? "Top N value counter " : "Indirect call counter"));
+		    ? "Top N value counter" : "Indirect call counter"));
 	  if (hist->hvalue.counters)
 	    {
-	      fprintf (dump_file, "all: %" PRId64 ", values: ",
+	      fprintf (dump_file, " all: %" PRId64 ", values: ",
 		       (int64_t) hist->hvalue.counters[0]);
 	      for (unsigned i = 0; i < GCOV_TOPN_VALUES; i++)
 		{