> The --coverage flag is a useful alias for -fprofile-arcs
> -ftest-coverage where the latter makes gcc output the .gcno file.
> While it makes sense to use -fprofile-arcs without a .gcno file (pgo,
> maybe more), it never really makes sense to request -fpath-coverage or
> -fcondition-coverage without also wanting the .gcno to interpret the
> results.
>
> gcc/ChangeLog:
>
> * common.opt: ftest-coverage enabled by fpath-coverage or
> fcondition-coverage
>
> gcc/testsuite/ChangeLog:
>
> * g++.dg/gcov/gcov-18.C: Remove --coverage.
> * g++.dg/gcov/gcov-22.C: Likewise.
> * gcc.misc-tests/gcov-19.c: Remove -ftest-coverage.
> * gcc.misc-tests/gcov-29.c: Likewise.
OK,
thanks!
Honza