[gcc(refs/users/marxin/heads/fix-spacing-in-value-prof)] Fix spacing in a dump in value-prof.c.

Martin Liska marxin@gcc.gnu.org
Wed Jan 15 14:53:00 GMT 2020


https://gcc.gnu.org/g:316f85be39cfed55b2fed335f73d2bc4a45f3fb6

commit 316f85be39cfed55b2fed335f73d2bc4a45f3fb6
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Jan 15 15:52:13 2020 +0100

    Fix spacing in a dump in value-prof.c.
    
    gcc/ChangeLog:
    
    2020-01-15  Martin Liska  <mliska@suse.cz>
    
    	* value-prof.c (dump_histogram_value): Fix
    	obvious spacing issue.

Diff:
---
 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 9a2c462..b7c7d7e 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++)
 		{



More information about the Gcc-cvs mailing list