* GCC silently miscompiling code on x86
@ 2002-08-22 15:53 Greg Schafer
2002-08-22 19:38 ` H. J. Lu
2002-08-29 12:04 ` Richard Henderson
0 siblings, 2 replies; 6+ messages in thread
From: Greg Schafer @ 2002-08-22 15:53 UTC (permalink / raw)
To: gcc
Hello gcc hackers!
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?
http://gcc.gnu.org/ml/gcc-patches/2002-08/msg01170.html
http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01561.html
Thanks in advance.
Greg
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GCC silently miscompiling code on x86
2002-08-22 15:53 GCC silently miscompiling code on x86 Greg Schafer
@ 2002-08-22 19:38 ` H. J. Lu
2002-08-29 12:04 ` Richard Henderson
1 sibling, 0 replies; 6+ messages in thread
From: H. J. Lu @ 2002-08-22 19:38 UTC (permalink / raw)
To: Greg Schafer; +Cc: gcc, gcc-patches
On Fri, Aug 23, 2002 at 08:54:00AM +1000, Greg Schafer wrote:
> Hello gcc hackers!
>
> 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?
>
> http://gcc.gnu.org/ml/gcc-patches/2002-08/msg01170.html
>
> http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01561.html
>
I am enclosing an update for this one. There is no regression on
Linux/i386/i586/i686.
H.J.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GCC silently miscompiling code on x86
2002-08-22 15:53 GCC silently miscompiling code on x86 Greg Schafer
2002-08-22 19:38 ` H. J. Lu
@ 2002-08-29 12:04 ` Richard Henderson
2002-08-29 15:03 ` Greg Schafer
2002-08-30 21:25 ` H. J. Lu
1 sibling, 2 replies; 6+ messages in thread
From: Richard Henderson @ 2002-08-29 12:04 UTC (permalink / raw)
To: Greg Schafer; +Cc: gcc
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~
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GCC silently miscompiling code on x86
2002-08-29 12:04 ` Richard Henderson
@ 2002-08-29 15:03 ` Greg Schafer
2002-08-29 16:26 ` Richard Henderson
2002-08-30 21:25 ` H. J. Lu
1 sibling, 1 reply; 6+ messages in thread
From: Greg Schafer @ 2002-08-29 15:03 UTC (permalink / raw)
To: Richard Henderson; +Cc: gcc
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GCC silently miscompiling code on x86
2002-08-29 12:04 ` Richard Henderson
2002-08-29 15:03 ` Greg Schafer
@ 2002-08-30 21:25 ` H. J. Lu
1 sibling, 0 replies; 6+ messages in thread
From: H. J. Lu @ 2002-08-30 21:25 UTC (permalink / raw)
To: Richard Henderson, Greg Schafer, gcc
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-08-30 21:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-22 15:53 GCC silently miscompiling code on x86 Greg Schafer
2002-08-22 19:38 ` H. J. Lu
2002-08-29 12:04 ` Richard Henderson
2002-08-29 15:03 ` Greg Schafer
2002-08-29 16:26 ` Richard Henderson
2002-08-30 21:25 ` H. J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).