From 009e01dbe74699d137410c13fca70370d376a824 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Fri, 8 Apr 2011 02:14:55 +0200 Subject: add FIXME related to the -fno-strict-aliasing workaround --- src/rt/sync/lock_free_queue.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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, -- cgit v1.2.3