http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49484

--- Comment #24 from asharif at gcc dot gnu.org 2012-05-01 21:22:51 UTC ---
Author: asharif
Date: Tue May  1 21:22:47 2012
New Revision: 187026

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187026
Log:
Backported r185231 from trunk.

2012-03-12  Richard Guenther  <rguent...@suse.de>

    * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
    * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
    (__gthread_mutex_init_function): New function.
    * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.

    PR gcov/49484
    * libgcov.c: Include gthr.h.
    (__gcov_flush_mx): New global variable.
    (init_mx, init_mx_once): New functions.
    (__gcov_flush): Protect self with a mutex.
    (__gcov_fork): Re-initialize mutex after forking.
    * unwind-dw2-fde.c: Change condition under which to use
    __GTHREAD_MUTEX_INIT_FUNCTION.

Modified:
    branches/google/gcc-4_6/   (props changed)
    branches/google/gcc-4_6/gcc/ChangeLog.google-4_6
    branches/google/gcc-4_6/gcc/gthr-posix.h
    branches/google/gcc-4_6/gcc/gthr-single.h
    branches/google/gcc-4_6/gcc/gthr.h
    branches/google/gcc-4_6/gcc/libgcov.c
    branches/google/gcc-4_6/gcc/unwind-dw2-fde.c
    branches/google/gcc-4_6/libgcc/ChangeLog

Propchange: branches/google/gcc-4_6/
            ('svn:mergeinfo' modified)

Reply via email to