From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; TMSL) Description of problem: gcov core dumps when trying to produce coverage information with C++ which have static initialization Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. #include <iostream> #include <vector.h> void main() { vector<int> string_list; } 2. g++ -ftest-coverage -fprofile-arcs file.cxx -o file_cov 3. ./file_cov 4. gcov file >Aborted (core dumped) Actual Results: core dump Expected Results: coverage information results Additional info: http://gcc.gnu.org/ml/gcc-bugs/2001-04/msg00034.html by Michelle Lorenz http://gcc.gnu.org/cgi-bin/gnatsweb.pl, problem report 3639
Works ok in 3.2