diff options
| author | Marijn Haverbeke <[email protected]> | 2011-04-08 02:14:55 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <[email protected]> | 2011-04-08 02:23:33 +0200 |
| commit | 009e01dbe74699d137410c13fca70370d376a824 (patch) | |
| tree | cc776064300a1609fb835d12200d6aeae2ddd6be /src | |
| parent | Re-add a read_byte() method to buf_reader objs (diff) | |
| download | rust-009e01dbe74699d137410c13fca70370d376a824.tar.xz rust-009e01dbe74699d137410c13fca70370d376a824.zip | |
add FIXME related to the -fno-strict-aliasing workaround
Diffstat (limited to 'src')
| -rw-r--r-- | src/rt/sync/lock_free_queue.h | 2 |
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, |