I just tried to compile Linux kernel 2.6.17.13 with the new GNU C compiler version 4.2 snapshot 20060909.
The compiler said /home/dcb/gnu/42-20060909/results/bin/gcc -g -O3 -Wall -Wp,-MD,arch/x86_64/kernel/.asm-offsets.s.d -nostdinc -isystem /home/dcb/gnu/42-20060909/results/lib/gcc/x86_64-unknown-linux-gnu/4.2.0/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -fno-optimize-sibling-calls -fasynchronous-unwind-tables -g -march=k8 -m64 -mno-red-zone -mcmodel=kernel -pipe -ffunction-sections -fno-reorder-blocks -Wno-sign-compare -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)" -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o arch/x86_64/kernel/asm-offsets.s arch/x86_64/kernel/asm-offsets.c arch/x86_64/kernel/asm-offsets.c: In function "main": arch/x86_64/kernel/asm-offsets.c:72: internal compiler error: in ix86_compute_frame_layout, at config/i386/i386.c:5108 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Preprocessed source code attached. Flags -Os -mno-sse required. -- Summary: ice in kernel build Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dcb314 at hotmail dot com GCC host triplet: i686-pc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29009