Coverage broken in gcc 4.1.1?

Matt Fago matt.fago@itt.com
Fri Mar 2 21:20:00 GMT 2007


I'm trying to use gcov with gcc 4.1.1 as installed in Fedora Core 6
x86_64.

This works fine:
  gcc --coverage -o hello hello.c
        
This does not:
  gcc --coverage -o hello.o -c hello.c
  gcc --coverage -o hello hello.o

Both work as expected with Apple's gcc 4.0.4 (with explicit
-fprofile-arcs -ftest-coverage) and FSF gcc 4.1.2 on powerpc or gcc
trunk on x86_64.

I thought I'd heard of this on gcc@gcc.gnu.org, but I've looked in
Bugzilla and cannot find it. If this is known I'd appreciate a reference
to a bug so I can ask Fedora to patch their version of gcc.


Thanks,
Matt

************************************
This e-mail and any files transmitted with it are proprietary and intended solely
for the use of the individual or entity to whom they are addressed. If you have
received this e-mail in error please notify the sender. Please note that any views
or opinions presented in this e-mail are solely those of the author and do not
necessarily represent those of ITT, Inc. The recipient should check
this e-mail and any attachments for the presence of viruses. ITT accepts
no liability for any damage caused by any virus transmitted by this e-mail.
************************************



More information about the Gcc-help mailing list