Bug#250899: GCC-3.3 failure on Sparc when compiling Linux kernel

2004-05-27 Thread Art Haas
On Thu, May 27, 2004 at 03:42:39PM +0200, Matthias Klose wrote: > Art, did this work with an earlier version, and if, with which one? I'd been using the gcc-3.3 packages up to 3.3.3-6 or 3.3.3-7 without problems. Release 3.3.3-8 first one to have problems, and when I saw 3.3.3-9 I was hoping the

Bug#250899: GCC-3.3 failure on Sparc when compiling Linux kernel

2004-05-27 Thread Matthias Klose
Art, did this work with an earlier version, and if, with which one? Falk Hueffner writes: > Here's a smaller test case: > > static __inline__ __attribute__ ((always_inline)) > int page_mapping (unsigned flags) > { > if (1u & (flags >> 16)) > return 1; > return 0; > } > void install_page (

Bug#250899: GCC-3.3 failure on Sparc when compiling Linux kernel

2004-05-25 Thread Falk Hueffner
Here's a smaller test case: static __inline__ __attribute__ ((always_inline)) int page_mapping (unsigned flags) { if (1u & (flags >> 16)) return 1; return 0; } void install_page (unsigned flags) { if (__builtin_expect (!page_mapping (flags), 0)) __builtin_trap (); } -- Fal

Bug#250899: GCC-3.3 failure on Sparc when compiling Linux kernel

2004-05-25 Thread Art Haas
Package: gcc-3.3 Version: 3.3.3-9 Compiling the 2.6.7-rc1 kernel with the latest gcc-3.3 causes a problem. gcc -Wp,-MD,mm/.fremap.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -m32 -pipe -mno-fpu -fcall-used-