Hi. As I've spent recently some time in gcov, I decided to enhance the tool a bit. My main target is PR48463 which will remove assumption that multiple functions can't start on a same line. I've got pending patch that will be send soon.
Thanks for review, Martin marxin (7): GCOV: document behavior of -fkeep-{static,inline}-functions (PR gcov-profile/82633). GCOV: introduce usage of terminal colors. GCOV: add support for lines with an unexecuted lines. GCOV: add -j argument (human readable format). GCOV: std::vector refactoring. GCOV: Vector refactoring II GCOV: std::vector refactoring III gcc/color-macros.h | 50 +++ gcc/configure | 4 +- gcc/configure.ac | 4 +- gcc/diagnostic-color.c | 27 +- gcc/doc/gcov.texi | 32 +- gcc/gcov.c | 552 ++++++++++++++++------------- gcc/testsuite/g++.dg/gcov/gcov-threads-1.C | 4 +- gcc/testsuite/g++.dg/gcov/loop.C | 27 ++ gcc/testsuite/g++.dg/gcov/ternary.C | 12 + gcc/testsuite/lib/gcov.exp | 4 +- 10 files changed, 438 insertions(+), 278 deletions(-) create mode 100644 gcc/color-macros.h create mode 100644 gcc/testsuite/g++.dg/gcov/loop.C create mode 100644 gcc/testsuite/g++.dg/gcov/ternary.C -- 2.14.2