limitations with gcov and STL

Greg Bumgardner bumgard@roguewave.com
Tue Apr 3 11:28:00 GMT 2001


I haven't been able to get gcov to work for months. It worked fine in 2.95,
but no longer seems to work. I think I filed a bug-report a few months ago..
-g.b.

> -----Original Message-----
> From: Michelle Lorenz [ mailto:lorenzm@dialogic.com ]
> Sent: Monday, April 02, 2001 3:37 PM
> To: libstdc++@gcc.gnu.org
> Cc: mlorenz@ihug.co.nz
> Subject: limitations with gcov and STL
> 
> 
> Hi,
> 
> I have been trying unsuccessfully to use gcov with the STL:
> 
> #include <iostream>
> #include <vector.h>
> 
> void main()
> {
>    vector<int> string_list;
> }
> 
> >g++ -ftest-coverage -fprofile-arcs file.cxx -o file_cov
> >./file_cov
> >gcov file
> >Aborted (core dumped)
> 
> Does anybody know whether this is a bug with gcov and/or how 
> to fix it?
> Thanks :-)
> 
> --
> 2b
> Michelle Lorenz
> mlorenz@ihug.co.nz
> 



More information about the Libstdc++ mailing list