aboutsummaryrefslogtreecommitdiff
path: root/src/rt
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt')
-rw-r--r--src/rt/sync/lock_free_queue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rt/sync/lock_free_queue.h b/src/rt/sync/lock_free_queue.h
index 1c760bff..03388bca 100644
--- a/src/rt/sync/lock_free_queue.h
+++ b/src/rt/sync/lock_free_queue.h
@@ -88,6 +88,8 @@ class lock_free_queue {
pointer_t *oldValue,
pointer_t newValue) {
+ // FIXME this is requiring us to pass -fno-strict-aliasing to GCC
+ // (possibly there are other, similar problems)
if (sync::compare_and_swap(
(uint64_t*) address,
*(uint64_t*) oldValue,