title: Segmentation fault with gcov
body: <p>I compiled my source files with gcov flags on a remote server. </p>
  
  <pre><code>CFLAGS += -fprofile-arcs -ftest-coverage -lgcov -coverage
  </code></pre>
  
  <p>Compilation works fine. gcc 4.7 was used for compilation. .gcno file generated has 407* format. all functions works fine. i get coverage report using gcov main.c</p>
  
  <p>Now i am trying get coverage data, in my local system which has gcc version 4.1.2</p>
  
  <p>I get segmentation fault. </p>
  
  <p>Error: </p>
  
  <pre><code>main.gcno:version `407*', prefer 401p'
  Segmentation fault (core dumped)
  </code></pre>
  
  <p>Does version of gcc is the reason for this? Why am i getting segmentation fault? What are the changes made in the new gcc. What are possible solutions? ( I cant update gcc) </p>
  
  <p>Any suggestions would be helpful.. </p>