bit fields && data tearing

Richard Henderson rth at
Wed Jul 16 01:02:38 EST 2014

On 07/15/2014 06:54 AM, Peter Hurley wrote:
> Jonathan Corbet wrote a LWN article about this back in 2012:
> 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.


More information about the Linuxppc-dev mailing list