Re: Bug#254626: gcc-3.3: wrong optimization on sparc32 when building linux kernel

2004-06-23 Thread Martin Habets
I have done some more testing using gcc-3.4, guided by this text in he gcc manual: -Os disables the following optimization flags: -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -fprefetch-loop-arrays After much testing I can only

Re: Bug#254626: gcc-3.3: wrong optimization on sparc32 when building linux kernel

2004-06-19 Thread Matthias Klose
Martin Habets writes: Package: gcc-3.3 Version: 1:3.3.4-1 Severity: normal Am building linux kernel 2.6.6 with CONFIG_CC_OPTIMIZE_FOR_SIZE=y set in .config. This results in -Os parameter to gcc. Resulting kernel does not boot and causes an oops (see below). This comes from this code

Re: Bug#254626: gcc-3.3: wrong optimization on sparc32 when building linux kernel

2004-06-19 Thread Martin Habets
On Sat, Jun 19, 2004 at 12:27:49PM +0200, Matthias Klose wrote: Do you know earlier gcc versions not showing the miscompilation? Please can you recheck with gcc-3.4 (found in the experimental distribution, or http://http.us.debian.org/debian/pool/main/g/gcc-3.4/) Thanks, Matthias These are