From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Law Date: Wed, 01 Feb 2012 19:54:48 +0000 Subject: Re: Memory corruption due to word sharing Message-Id: <4F299888.40307@redhat.com> List-Id: References: <20120201151918.GC16714@quack.suse.cz> <1328118174.15992.6206.camel@triegel.csb> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Boehm, Hans" Cc: Torvald Riegel , Linus Torvalds , Jan Kara , LKML , "linux-ia64@vger.kernel.org" , "dsterba@suse.cz" , "ptesarik@suse.cz" , "rguenther@suse.de" , "gcc@gcc.gnu.org" 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