GCC silently miscompiling code on x86
Richard Henderson
rth@redhat.com
Thu Aug 29 12:04:00 GMT 2002
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 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.
r~
More information about the Gcc
mailing list