------- Comment #2 from rguenth at gcc dot gnu dot org  2007-10-31 14:59 -------
Which is

static inline int
__gthread_cond_broadcast (__gthread_cond_t *cond)
{
  return __gthrw_(pthread_cond_broadcast) (cond);
}

It looks like pthread_cond_broadcast is not correctly bound, as the disassembly
shows:

 <__cxa_guard_release+52>:      mov    %rax,%rdi
 <__cxa_guard_release+55>:      callq  0x0

though it _does_ work for pthread_mutex_lock:

 <__cxa_guard_release+28>:      mov    %rax,%rdi
 <__cxa_guard_release+31>:      callq  0x566dc0 <pthread_mutex_lock>


-- 


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

Reply via email to