Re: egcs-2.90.1[5-7] crash on __asm__, i586-pc-linux-gnulibc1

Myrdraal (
Mon, 17 Nov 1997 01:31:28 -0500

On Sun, Nov 16, 1997 at 09:37:37PM -0300, Horst von Brand wrote:
> I've got the above egcs versions (sorry, no earlier ones to check here),
> compiled with -O2 -fomit-frame-pointer -mpentium.
> The compiler crashes on the file .../arch/i386/kernel/process.c from
> linux-2.1.64, but doesn't on linux-2.1.63-VGER-CVS971112. I've managed to
> strip down the files to the following minimal examples, which crash
> "gcc -c testfile.c". In the original, pa is gdt and the offending function
> is flush_thread:
I can duplicate that problem both on process.c and your test file:
(root@jackalz):/usr/src/linux/arch/i386/kernel# gcc -D__KERNEL__ -o process.o process.c
process.c: In function `flush_thread':
process.c:469: fixed or forbidden register was spilled.
This may be due to a compiler bug or to impossible asm
statements or clauses.
Is that what you meant by crash?