hd.c in 2.1.5

Trevor Johnson (trevor@csudh.edu)
Tue, 22 Oct 1996 03:48:54 -0701 (PDT)


Using gcc 2.7.2.1, I get:

/usr/src/linux/drivers/block# gcc -D__KERNEL__ -I/usr/src/linux/include
-Wall -Wstrict-prototypes -O2 -fno-omit-frame-pointer -m486 -funroll-loops
-malign-jumps=2 -DCPU=486 -c -o hd.o hd.c
hd.c: In function `hd_ioctl':
hd.c:888: fixed or forbidden register was spilled.
This may be due to a compiler bug or to impossible asm
statements or clauses.

If I change the options to gcc, it compiles, and with no warnings:

gcc -D__KERNEL__ -I/usr/src/linux/include-Wall -Wstrict-prototypes
-DCPU=486 -c -o hd.o hd.c
___
Trevor Johnson <trevor@csudh.edu>