[BUG][!] Optimization bug in gcc! [was: Re: sinful bug]

Stephan Rudlof sr at evolgo.de
Fri Aug 4 02:42:28 UTC 2000


"Raab, Andreas" wrote:
> 
> Have you tried "-fno-fast-math"?! The documentation says it "improves FP
> speed by violating ANSI and IEEE rules".

Doesn't work.

Stephan

> 
>   - Andreas
> 
> > -----Original Message-----
> > From: Stephan Rudlof [mailto:sr at evolgo.de]
> > Sent: Thursday, August 03, 2000 5:25 PM
> > To: squeak at cs.uiuc.edu
> > Cc: recipient list not shown
> > Subject: Re: [BUG][!] Optimization bug in gcc! [was: Re: sinful bug]
> >
> >
> > Stephan Rudlof wrote:
> > >
> > > Dear Squeakers,
> > >
> > > there seems to be an optimization bug in gcc, arising in
> > interp.c for -O1
> > > already!
> > ...
> >
> > But
> >       gcc -O3 -fno-inline -I. -I../src -I../src/CoreVM
> > -DHAVE_CONFIG_H -DUNIX
> > -c gnu-interp.c
> > works.
> >
> > This means that inlining forces the bug here!
> >
> >
> > (
> >       gcc -O1 -I. -I../src -I../src/CoreVM  -DHAVE_CONFIG_H -DUNIX  -c
> > gnu-interp.c
> > doesn't work)
> >
> >
> > Stephan
> >

-- 
Stephan Rudlof (sr at evolgo.de)
   "Genius doesn't work on an assembly line basis.
    You can't simply say, 'Today I will be brilliant.'"
    -- Kirk, "The Ultimate Computer", stardate 4731.3





More information about the Squeak-dev mailing list