On 10/16/2014 10:14 AM, Alex Deucher wrote: > Are there any strong objections to these sorts of structures?
You may want to blacklist certain compiler version/arch combinations, or get the affected arches to do it. gcc up to 4.7.1 on ia64 and ppc64 generates 64-bit wide RMW cycles on bitfields, regardless of the specified type or actual field width. The enlarged write overwrites adjacent fields. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52080 Regards, Peter Hurley