[Bug c++/33960] [4.3 Regression] r129030 breaks -fopenmp -static compile of tramp3d-v4
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 31 14:59:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list