This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33960] [4.3 Regression] r129030 breaks -fopenmp -static compile of tramp3d-v4
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2007 14:59:16 -0000
- Subject: [Bug c++/33960] [4.3 Regression] r129030 breaks -fopenmp -static compile of tramp3d-v4
- References: <bug-33960-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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