Hi,
this patch avoids ICE in programs that uses multiple copies of libgcov at once.
It is just a temporary workaround as discussed in the PR log.

Tested on Firefox and comitted.

Honza

2015-02-04  Jan Hubicka  <hubi...@ucw.cz>                                       
                                                                                
        PR gcov/64123                                                           
        * gcov-io.c (gcov_var): Export.                                         
                                                                                
Index: gcov-io.c
===================================================================
--- gcov-io.c   (revision 220411)
+++ gcov-io.c   (working copy)
@@ -39,7 +39,7 @@ static void gcov_allocate (unsigned);
 /* Optimum number of gcov_unsigned_t's read from or written to disk.  */
 #define GCOV_BLOCK_SIZE (1 << 10)
 
-GCOV_LINKAGE ATTRIBUTE_HIDDEN struct gcov_var
+struct gcov_var
 {
   FILE *file;
   gcov_position_t start;       /* Position of first byte of block */

Reply via email to