On 15/07/2022 13:39, Jørgen Kvalsvik wrote: > This patch adds support in gcc+gcov for modified condition/decision > coverage (MC/DC) with the -fprofile-conditions flag.
Hello, I have updated this patch based on the feedback from Sebastian and Martin. 1. The description of the masking_vector function has been updated. 2. New vocabulary for the output - decisions for, well, the decisions. It also writes at most one line per condition: decisions covered 1/4 condition 0 not covered (true false) condition 1 not covered (true) 3. I applied Sebastian's patch and so it should work free standing. Thanks, Jørgen