[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#463478: gcc-4.3: generates wrong code on i386 with -O3



severity 463478 important
tag 463478 + pending
tag 463478 + upstream
tag 463478 + fixed-upstream
forwarded 463478 http://gcc.gnu.org/PR35045
thanks

Aurelien Jarno writes:
> severity 463478 grave
> thanks
> 
> Aurelien Jarno a écrit :
> > Package: gcc-4.3
> > Version: 4.3-20080127-1
> > Severity: important
> > 
> > The attached code, coming from the GNU libc (test-ifloat.c and 
> > s_cacoshf.c) gives wrong results when compiled with gcc-4.3 and -O3. The
> > results are correct with gcc-4.3 and lower optimisation or with gcc-4.2.
> > 
> 
> This bug has been upgraded to priority P1 upstream, I am upgrading it to
> grave in Debian to reflect this change.

I do not agree. It is debian policy to build packages with -O2; if a
package maintainer decides to use a higher optimization level, then it
is his responsibility to make sure that it builds ok.

anyway, there is patch upstream, so the next upload will have a fix.

  Matthias



Reply to: