Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Problem with "fprofile-arcs -ftest-coverage" options

Rahul_K_2
Beginner
991 Views

I am using icc intel64 compiler and want to do the code coverage analysis. For the same i am giving "fprofile-arcs -ftest-coverage" options along with other existing options in my make file and trying to complite the code then I am getting the below error. Even code got compiled and ".o" file generated by ".gcno" did not generated.

icpc: command line warning #10156: ignoring option '-fp'; no argument required
icpc: command line warning #10006: ignoring unknown option '-ftest-coverage'

Please tell the sugesion to proceed further. I am using gcc 4.1.x compatibility version.

Thanks

0 Kudos
1 Reply
TimP
Honored Contributor III
991 Views

Here is an overview of the Intel compiler test coverage:

http://software.intel.com/sites/products/collateral/hpc/compilers/code_coverage_tool.pdf

I suppose you may wish to compare against results of gcc test coverage, but the detailed methodology is different.

0 Kudos
Reply