From: Jørgen Kvalsvik <jorgen.kvalsvik@woven.toyota>

---
 gcc/gcov-dump.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/gcov-dump.cc b/gcc/gcov-dump.cc
index 65fa2d7b44b..d85fa98ddd5 100644
--- a/gcc/gcov-dump.cc
+++ b/gcc/gcov-dump.cc
@@ -394,14 +394,14 @@ tag_arcs (const char *filename ATTRIBUTE_UNUSED,
     }
 }
 
+/* Print number of conditions (not outcomes, i.e. if (x && y) is 2, not 4) */
 static void
-tag_conditions (const char *filename ATTRIBUTE_UNUSED,
-               unsigned tag ATTRIBUTE_UNUSED, int length ATTRIBUTE_UNUSED,
+tag_conditions (const char *filename, unsigned /* tag */, int length,
                unsigned depth)
 {
   unsigned n_conditions = GCOV_TAG_CONDS_NUM (length);
 
-  printf (" %u conditionals", n_conditions);
+  printf (" %u conditions", n_conditions);
   if (flag_dump_contents)
     {
       for (unsigned ix = 0; ix != n_conditions; ix++)
-- 
2.30.2

Reply via email to