https://gcc.gnu.org/g:0bf002100453a0f531855c093f095dc15274a78c

commit r15-1651-g0bf002100453a0f531855c093f095dc15274a78c
Author: Jørgen Kvalsvik <j...@lambda.is>
Date:   Tue Jun 25 08:41:45 2024 +0200

    Use the term MC/DC in help for gcov --conditions
    
    Without key terms like "masking" and "MC/DC" it is not at all obvious
    what --conditions actually reports on, and there is no easy path for the
    user to figure out. By at least including the two key terms MC/DC and
    masking users have something to search for.
    
    gcc/ChangeLog:
    
            * gcov.cc (print_usage): Reference masking MC/DC.

Diff:
---
 gcc/gcov.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/gcov.cc b/gcc/gcov.cc
index 0d4ef14e6c9..6f3055718d2 100644
--- a/gcc/gcov.cc
+++ b/gcc/gcov.cc
@@ -973,7 +973,7 @@ print_usage (int error_p)
   fnotice (file, "  -c, --branch-counts             Output counts of branches 
taken\n\
                                     rather than percentages\n");
   fnotice (file, "  -g, --conditions                Include modified 
condition/decision\n\
-                                    coverage in output\n");
+                                    coverage (masking MC/DC) in output\n");
   fnotice (file, "  -d, --display-progress          Display progress 
information\n");
   fnotice (file, "  -D, --debug                            Display debugging 
dumps\n");
   fnotice (file, "  -f, --function-summaries        Output summaries for each 
function\n");

Reply via email to