From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Schafer To: Richard Henderson Cc: gcc@gcc.gnu.org Subject: Re: GCC silently miscompiling code on x86 Date: Thu, 29 Aug 2002 15:03:00 -0000 Message-id: <20020830080307.A15467@tigers-lfs.nsw.bigpond.net.au> References: <20020823085400.A6375@tigers-lfs.nsw.bigpond.net.au> <20020829190443.GA549@redhat.com> X-SW-Source: 2002-08/msg01928.html On Thu, Aug 29, 2002 at 12:04:43PM -0700, Richard Henderson wrote: > On Fri, Aug 23, 2002 at 08:54:00AM +1000, Greg Schafer wrote: > > This is very bad for i686. Many continue to get hit by this. H J Lu has > > proposed some patches but they remain unreviewed. Could somebody kindly > > take a look at these and get this sorted? > > As far as I can tell, HJ's patch doesn't work. Certainly > it didn't change the output for the given test case at all. That was not my experience at all. HJ's patch here:- http://gcc.gnu.org/ml/gcc-patches/2002-08/msg01401.html fixed 20020412-1.c for me. And this one:- http://gcc.gnu.org/ml/gcc-patches/2002-08/msg01170.html fixes the test case in GNATS PR 7591. I am compiling everything at -march=i686 > I have a different patch that I started some time ago before I > left on vacation that fixes this bug, as well as the variable > sized structure copy bug as seen in execute/20020412-1.c. Ok, cool, I would love to test it out. Is it ready for consumption? Greg