Bill Allombert writes:
> Package: gcc-3.3
> Version: 1:3.3.5-3
> Severity: normal
> 
> Hello GCC developers and ARM porters,
> gcc-3.3 -O3 -fPIC miscompile pari on ARM.
> (see 
> <http://buildd.debian.org/fetch.php?&pkg=pari&ver=2.1.6-1&arch=arm&stamp=1102707589&file=log&as=raw>)
> 
> More precisely the file src/basemath/alglin1.c
> is miscompiled with -O3 -fPIC but correctly compiled with -O3 or -O2 -fPIC
> 
> This is a regression since gcc-3.3_1:3.3.2-0pre5 built the same
> file correctly with -O3 -fPIC.
> 
> Apparenlty gcc inline the function use_maximal_pivot() inside
> gauss_pivot_ker() and produce wrong code there.
> 
> Removing the static qualifier from use_maximal_pivot() (thus forbidding
> the compiler to enable) work around the bug.
> 
> If you want, I might dig farther into the problem at a later date.

please attach the preprocessed source to the report and recheck with
gcc-3.4 and gcc-4.0 / gcc-snapshot.

Thanks, Matthias


Reply via email to