https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66848
--- Comment #18 from Jack Howarth <howarth.at.gcc at gmail dot com> --- The upstream commit... https://github.com/ivmai/bdwgc/commit/faef04e7cb3741163dfdf65900ef5d2a0530be0f 2011-02-09 Ivan Maidanski <iv...@mail.ru> * src/atomic_ops.c (AO_USE_NO_SIGNALS, AO_USE_NANOSLEEP): New macros. * src/atomic_ops.c (AO_USE_WIN32_PTHREADS): Imply AO_USE_NO_SIGNALS. * src/atomic_ops.c: Don't include signal.h if AO_USE_NO_SIGNALS. * src/atomic_ops.c: Include time.h if AO_USE_NANOSLEEP. * src/atomic_ops.c (AO_locks, AO_pause): Reformat the code. * src/atomic_ops.c (AO_pause): Use nanosleep() if AO_USE_NANOSLEEP. * src/atomic_ops.c (all_sigs, initialized, AO_compare_and_swap_emulation, AO_compare_double_and_swap_double_emulation): Use AO_USE_NO_SIGNALS instead of AO_USE_WIN32_PTHREADS. potentially could contain useful change for darwin. This is the specific commit in between the 7.2alpha4 and 7.2alpha6 releases which eliminates the test suite failures on darwin. The caveat is that these failures are for all darwin and not just darwin15.