diff options
| author | Ivan Maidanski <ivmai@mail.ru> | 2017-01-24 22:46:57 +0300 |
|---|---|---|
| committer | Ivan Maidanski <ivmai@mail.ru> | 2017-01-24 22:51:19 +0300 |
| commit | d1ad2daa7e195c82e3e5423e31af90fb01f7307d (patch) | |
| tree | 3787c4a8a4eb886395e705f9537b52e4461bf42d /pkgconfig/atomic_ops.pc.in | |
| parent | 4949e9b8cb409288fcaa0553ead9704ca6219a23 (diff) | |
| download | libatomic_ops-d1ad2daa7e195c82e3e5423e31af90fb01f7307d.tar.gz | |
Fix test_atomic failure caused unaligned AO_double_t access on x86
The failure is caused by violation of an assertion that checks
AO_double_t variable is 8-byte aligned on x86.
* doc/README.txt (AO_double_t): Add note about required alignment.
* src/atomic_ops/sysdeps/standard_ao_double_t.h (AO_double_t): Add
comment about alignment.
* src/atomic_ops_stack.h (AO_stack_t): Likewise.
* tests/test_atomic_include.template (test_atomicXX): Define old_w, w
local variables as static (as otherwise, e.g., they could have 4-byte
alignment on x86); add comment.
Diffstat (limited to 'pkgconfig/atomic_ops.pc.in')
0 files changed, 0 insertions, 0 deletions
