]> granicus.if.org Git - libatomic_ops/commit
Fix test_atomic fail caused by AO_double_t misaligned load (Linux/i686)
authorIvan Maidanski <ivmai@mail.ru>
Tue, 31 Jan 2017 07:29:44 +0000 (10:29 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 6 Feb 2017 06:36:03 +0000 (09:36 +0300)
commit54171955f3a7198baddd7a8a26e12c44a9b234da
tree1bc61a367491d460e41e4ae0d9f0fde843648388
parentc386add710a5311966fc054e11222c27ca329c09
Fix test_atomic fail caused by AO_double_t misaligned load (Linux/i686)
(Cherry-pick commit a53e41b from 'master' branch.)

* src/atomic_ops/sysdeps/standard_ao_double_t.h [__i386__ && __GNUC__]
(double_ptr_storage): Add aligned(8) attribute (so that AO_double_t
global/static variables to have proper (double-word) alignment).
src/atomic_ops/sysdeps/standard_ao_double_t.h