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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-11-25 
14:46:07 UTC ---
Thanks for the info - that error implies the mutex was not correctly
initialized.

What are these macros defined to (if defined)?

__GTHREAD_MUTEX_INIT
__GTHREAD_MUTEX_INIT
__GTHREAD_MUTEX_INIT_FUNCTION


> FAIL: 30_threads/future/cons/constexpr.cc scan-assembler-not
_ZNSt6futureIvEC2Ev
> FAIL: 30_threads/future/cons/constexpr.cc scan-assembler-not
_ZNSt6futureIiEC2Ev
> FAIL: 30_threads/shared_future/cons/constexpr.cc scan-assembler-not
_ZNSt13shared_futureIvEC2Ev
> FAIL: 30_threads/shared_future/cons/constexpr.cc scan-assembler-not
_ZNSt13shared_futureIiEC2Ev

These errors indicate a front-end problem (failing to do static init for the
constexpr constructor) or a bug in the testcase.

Reply via email to