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  <mli...@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 --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++)
 		{

Reply via email to