New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for GCC 14 condition coverage (MC/DC) #913
Comments
We're waiting already for the release of version 14 to finish #766 |
@latk How shall we continue with the decision coverage? With gcc 14 this wouldn't be needed anymore. |
It will be quite some time until GCC 14 is widely used. Gcovr claims support for GCC 5.x (!), and Clang is also a thing. It would be great to use this new GCC feature whenever available, but to continue supporting a reasonable range of other compilers. |
GCC 14 will support condition coverage:
https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fcondition-coverage
The corresponding GCC commit is:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=08a52331803f66a4aaeaedd278436ca8eac57b50
Support was added to the gcov tool to show the condition coverage information:
https://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html
It would be nice if gcovr could also present this information.
The text was updated successfully, but these errors were encountered: