Subject: Re: bit fields && data tearing

From: Richard Henderson <[email-masked]>
Date: Tue, 15 Jul 2014 08:02:38 -0700

On 07/15/2014 06:54 AM, Peter Hurley wrote:
> 
> Jonathan Corbet wrote a LWN article about this back in 2012:
> http://lwn.net/Articles/478657/
> 
> I guess it's fixed in gcc 4.8, but too bad there's not a workaround for
> earlier compilers (akin to -fstrict_volatile_bitfields without requiring
> the volatile keyword)

>>From the gcc pr, it looks like the patch was backported to 4.7.
But we didn't fix it in versions earlier than that.

r~