Summary: | sys-devel/gcc 4.1.2 - gcov fails to analyze multipath program | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yuri Karaban <dev> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Yuri Karaban
2007-03-26 08:56:02 UTC
The proper GCC flags are -fprofile-arcs and -ftest-coverage. The gcov documentation does not reference --coverage anywhere. --coverage documented in gcc manual `--coverage' This option is used to compile and link code instrumented for coverage analysis. The option is a synonym for `-fprofile-arcs' `-ftest-coverage' (when compiling) and `-lgcov' (when linking). See the documentation for those options for more details. So it is no matter what to specify either --coverage or -fprofile-arcs -ftest-coverage This is incredibly old and I can't see how this would be a gentoo only bug. Please bring this upstream if you wish to pursue it since if it was expected behaviour it would have been fixed by now. |