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

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

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 in lib/vsprintf.c function vsnprintf:

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

Reply to: