This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR52627
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 20 Mar 2012 12:18:18 +0100 (CET)
- Subject: [PATCH] Fix PR52627
This should fix PR52627.
Applied as obvious.
Richard.
2012-03-20 Richard Guenther <rguenther@suse.de>
PR gcov-profile/52627
* libgcov.c (init_mx): Fix mutex name.
Index: libgcc/libgcov.c
===================================================================
*** libgcc/libgcov.c (revision 185563)
--- libgcc/libgcov.c (working copy)
*************** __gthread_mutex_t __gcov_flush_mx ATTRIB
*** 713,719 ****
static void
init_mx (void)
{
! __GTHREAD_MUTEX_INIT_FUNCTION (&mx);
}
static void
init_mx_once (void)
--- 713,719 ----
static void
init_mx (void)
{
! __GTHREAD_MUTEX_INIT_FUNCTION (&__gcov_flush_mx);
}
static void
init_mx_once (void)