Re: Memory corruption due to word sharing

From: Jeff Law
Date: Wed Feb 01 2012 - 14:55:46 EST


On 02/01/2012 12:44 PM, Boehm, Hans wrote:

C11 is a published standard. Last I checked, gcc did not follow many of the above rules. It looks like major changes were recently merged into the gcc trunk, and I haven't had a chance to test those, so it may well be fixed. But more importantly, so far I haven't read anything here to dissuade me that they are the right target.

The bitfield changes didn't make it into gcc-4.7; we're still working through implementation details. GCC's bitfield support is a horrid nasty mess which has made implementation of the standard problematical. It's on Aldy's plate for gcc-4.8.

jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/