Skip to content

Commit 009e01d

Browse files
committed
add FIXME related to the -fno-strict-aliasing workaround
1 parent 53cc673 commit 009e01d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rt/sync/lock_free_queue.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ class lock_free_queue {
8888
pointer_t *oldValue,
8989
pointer_t newValue) {
9090

91+
// FIXME this is requiring us to pass -fno-strict-aliasing to GCC
92+
// (possibly there are other, similar problems)
9193
if (sync::compare_and_swap(
9294
(uint64_t*) address,
9395
*(uint64_t*) oldValue,

0 commit comments

Comments
 (0)