Reorder AO_double_t union elements for AO_DOUBLE_T_INITIALIZER portability
authorIvan Maidanski <ivmai@mail.ru>
Tue, 9 Oct 2012 06:30:28 +0000 (10:30 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 9 Oct 2012 06:34:07 +0000 (10:34 +0400)
commit7034240cde0414246500581338dbc8cdb252db44
tree271f3033a13224d58c45f64ebb8384b1efbdeddc
parent298451dccf9d2635b5975f2da454c5b3ad42cdad
Reorder AO_double_t union elements for AO_DOUBLE_T_INITIALIZER portability

* src/atomic_ops/sysdeps/standard_ao_double_t.h (AO_double_t):
Make "AO_parts" element to be the first one in the enum so that
AO_DOUBLE_T_INITIALIZER could be defined both strictly complying with
ANSI C standard (thus preventing "missing braces around initializer"
64-bit compiler warning) and independently of __m128 type definition;
add comment.
* src/atomic_ops/sysdeps/standard_ao_double_t.h
(AO_DOUBLE_T_INITIALIZER): Update to reflect the change in AO_double_t.
src/atomic_ops/sysdeps/standard_ao_double_t.h