Ok for google branches (please also backport to google/gcc_47 branch.

David


On 2012/05/01 20:37:44, asharif wrote:
On 2012/04/30 19:54:14, asharif wrote:
> I backported the following patch:
>
> 2012-03-12  Richard Guenther  <mailto: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.

Ping.

I did not see any degradation on internal benchmarks.



http://codereview.appspot.com/6139063/

Reply via email to