GCC silently miscompiling code on x86

H. J. Lu hjl@lucon.org
Fri Aug 30 21:25:00 GMT 2002


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.

I guess people may tell you otherwise.

> 
> 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.
> 

I am looking forward to it.


H.J.



More information about the Gcc mailing list