(fix commit
e3ec4a5)
* mark.c (GC_noop6): Call AO_compiler_barrier() only if PARALLEL_MARK
or GC_PTHREADS and not GC_WIN32_THREADS (do not use
"#ifdef AO_compiler_barrier").
word arg5 GC_ATTR_UNUSED, word arg6 GC_ATTR_UNUSED)
{
/* Avoid GC_noop6 calls to be optimized away. */
-# ifdef AO_compiler_barrier
+# if defined(GC_PTHREADS) && !defined(GC_WIN32_THREADS) \
+ || defined(PARALLEL_MARK)
AO_compiler_barrier(); /* to serve as a special side-effect */
# else
GC_noop1(0);